Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

feat: eslint #78

Merged
merged 10 commits into from
Nov 4, 2020
Prev Previous commit
Next Next commit
refactor: eslint
  • Loading branch information
vltansky committed Nov 3, 2020
commit 20a6c164405c24b44362ca2b4f62e3c7a21537c5
2 changes: 1 addition & 1 deletion lib/cli.js
Original file line number Diff line number Diff line change
@@ -138,7 +138,7 @@ const onLoad = async (targetDir, version, argv) => {
const indexFile = targetDir + "/index.html";
const sourceHTML = await fs.readFile(indexFile, "utf-8");
let resultHTML = sourceHTML.replace(
/(<html.*lang=)\"([^"]*)\"/gi,
/(<html.*lang=)"([^"]*)"/gi,
`$1"${lang}"`
);
if (removeJqueryFlag) {