Skip to content
This repository was archived by the owner on Feb 2, 2021. It is now read-only.

Commit a650ccc

Browse files
Merge pull request #830 from telerik/vladimirov/deprecate-node-012
Deprecate support for Node.js 0.12.x
2 parents 646bb7e + 535a7bb commit a650ccc

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

verify-node-version.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,12 +18,12 @@ export function verifyNodeVersion(supportedVersionsRange: string, cliName: strin
1818
process.exit(1);
1919
}
2020

21-
if (semver.satisfies(nodeVer, "~0.10.0")) {
22-
console.warn(`${EOL}Support for Node.js 0.10.x is deprecated and will be removed in the ${cliName} ${deprecationVersion} release. Please, upgrade to the latest Node.js LTS version.${EOL}`.yellow.bold);
21+
if (semver.satisfies(nodeVer, "~0.12.0")) {
22+
console.warn(`${EOL}Support for Node.js 0.12.x is deprecated and will be removed in the ${cliName} ${deprecationVersion} release. Please, upgrade to the latest Node.js LTS version.${EOL}`.yellow.bold);
2323
} else {
2424
let checkSatisfied = semver.satisfies(nodeVer, supportedVersionsRange);
2525
if (!checkSatisfied) {
26-
console.log(`${EOL}Support for node.js ${nodeVer} is not verified. This CLI might not install or run properly.${EOL}`.yellow.bold);
26+
console.log(`${EOL}Support for Node.js ${nodeVer} is not verified. This CLI might not install or run properly.${EOL}`.yellow.bold);
2727
}
2828
}
2929
}

0 commit comments

Comments
 (0)