We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ce1484d commit 5bfd9edCopy full SHA for 5bfd9ed
lib/index.ts
@@ -18,7 +18,7 @@ import { readFileSync } from 'fs'
18
// version support policy. The YARGS_MIN_NODE_VERSION is used for testing only.
19
const minNodeVersion = (process && process.env && process.env.YARGS_MIN_NODE_VERSION)
20
? Number(process.env.YARGS_MIN_NODE_VERSION)
21
- : 12
+ : 14
22
const nodeVersion = process?.versions?.node ?? process?.version?.slice(1)
23
if (nodeVersion) {
24
const major = Number(nodeVersion.match(/^([^.]+)/)![1])
0 commit comments