Skip to content

Commit

Permalink
fix: check 'latest' version
Browse files Browse the repository at this point in the history
  • Loading branch information
vltansky committed Jun 18, 2020
1 parent 6d03029 commit d01f243
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/cli.js
Expand Up @@ -97,7 +97,8 @@ const onLoad = async (targetDir, version, argv) => {
}
lang = langChoice || "";
}
const isJqueryIncluded = compareVersions(version.toString(), "8.0.0"); // jQuery removed in >= v8
const isJqueryIncluded =
version !== "latest" && compareVersions(version.toString(), "8.0.0"); // jQuery removed in >= v8
let removeJqueryFlag = false;
if (isJqueryIncluded) {
let { removeJquery } = await prompts({
Expand Down

0 comments on commit d01f243

Please sign in to comment.