Fix typo from #490 (#676)

`'en'` is written as `en`
This commit is contained in:
Endilie Yacop Sucipto 2018-05-19 22:45:05 +08:00 committed by Joel Marcey
parent b66045f284
commit 24da6bfba0

View file

@ -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$/)) {