Skip to content

Commit

Permalink
don't know why hexo is regenerating the markdown files.......
Browse files Browse the repository at this point in the history
  • Loading branch information
brian-mann committed Sep 9, 2017
1 parent 0eff48a commit 40e8422
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
6 changes: 5 additions & 1 deletion circle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,11 @@ jobs:
- run: npm test
- run: npm run build
- run: ls -Rl themes/cypress/source/js
- run: npm run test-e2e
- run:
command: npm start
background: true
- run: sleep 40
- run: npm run cypress

"deploy-docs-staging":
<<: *defaults
Expand Down
4 changes: 2 additions & 2 deletions lib/url_generator.js
Original file line number Diff line number Diff line change
Expand Up @@ -224,8 +224,6 @@ function validateLocalFile (sidebar, href, source, render) {
}

function validateAndGetUrl (sidebar, href, source, text, render) {
console.log('requesting href', href)

if (!href) {
// if we dont have a hash
return Promise.reject(
Expand Down Expand Up @@ -254,6 +252,8 @@ function validateAndGetUrl (sidebar, href, source, text, render) {
return Promise.resolve(cachedValue)
}

console.log('requesting href', href)

if (isExternalHref(href)) {
// cache this now even though
// we haven't validated it yet
Expand Down

0 comments on commit 40e8422

Please sign in to comment.