Skip to content

Commit

Permalink
Fix typo from #490 (#676)
Browse files Browse the repository at this point in the history
`'en'` is written as `en`
  • Loading branch information
endiliey authored and JoelMarcey committed May 19, 2018
1 parent b66045f commit 24da6bf
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion lib/server/generate.js
Original file line number Diff line number Diff line change
Expand Up @@ -530,7 +530,10 @@ async function execute() {
<ReactComp language={language} />
</Site>
);
writeFileAndCreateFolder(targetFile.replace(sep + en + sep, sep), str);
writeFileAndCreateFolder(
targetFile.replace(sep + 'en' + sep, sep),
str
);
}
fs.removeSync(tempFile);
} else if (siteConfig.wrapPagesHTML && normalizedFile.match(/\.html$/)) {
Expand Down

0 comments on commit 24da6bf

Please sign in to comment.