Skip to content

Commit

Permalink
chore: move decache to devDeps
Browse files Browse the repository at this point in the history
  • Loading branch information
SukkaW committed Jan 13, 2020
1 parent b8c1bf6 commit c3244e5
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion lib/plugins/injector/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ function injectFilter(data, locals = { page: {} }) {

return '<!-- hexo injector ' + flag + ' start -->' + content + '<!-- hexo injector ' + flag + ' end -->';
});
console.log(currentType, '|', code, '|', Injector.getText(flag, 'default'), '|', Injector.getText(flag, currentType));

// avoid unnesscary replace() for better performance
if (!code.length) return data;
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@
"archy": "^1.0.0",
"bluebird": "^3.5.2",
"chalk": "^3.0.0",
"decache": "^4.5.1",
"hexo-cli": "^3.0.0",
"hexo-front-matter": "^1.0.0",
"hexo-fs": "^2.0.0",
Expand Down Expand Up @@ -72,6 +71,7 @@
"chai": "^4.1.2",
"chai-as-promised": "^7.1.1",
"cheerio": "0.22.0",
"decache": "^4.5.1",
"eslint": "^6.0.1",
"eslint-config-hexo": "^4.1.0",
"hexo-renderer-marked": "^2.0.0",
Expand Down

0 comments on commit c3244e5

Please sign in to comment.