Skip to content

Commit

Permalink
chore(dev-deps): update eslint-config-hexo from 3.0.0 to 4.1.0
Browse files Browse the repository at this point in the history
- style: no-multi-assign
  • Loading branch information
curbengh committed Aug 24, 2020
1 parent 2dbb930 commit d586cad
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion lib/generator.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ function aliasGenerator(locals) {

if (Object.prototype.hasOwnProperty.call(templateCache, path)) return templateCache[path];

const result = templateCache[path] = '<!DOCTYPE html>'
const result = '<!DOCTYPE html>'
+ '<html>'
+ '<head>'
+ '<meta charset="utf-8">'
Expand All @@ -24,6 +24,8 @@ function aliasGenerator(locals) {
+ '</head>'
+ '</html>';

templateCache[path] = result;

return result;
}

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
"devDependencies": {
"chai": "^4.2.0",
"eslint": "^7.1.0",
"eslint-config-hexo": "^3.0.0",
"eslint-config-hexo": "^4.1.0",
"hexo": "^4.2.0",
"mocha": "^7.1.1",
"nyc": "^15.0.0"
Expand Down

0 comments on commit d586cad

Please sign in to comment.