Skip to content

Commit

Permalink
style: makes eslint happy (no-multi-assign)
Browse files Browse the repository at this point in the history
  • Loading branch information
SukkaW committed Dec 23, 2019
1 parent 5d379aa commit 90163aa
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/generator.js
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,7 @@ function aliasGenerator(locals) {
+ '</head>'
+ '</html>';

templateCache[path] = result;
return result;
}

Expand Down

0 comments on commit 90163aa

Please sign in to comment.