Skip to content

Commit 5bfd9ed

Browse files
committed
chore: found another place to update for node minimum version
1 parent ce1484d commit 5bfd9ed

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ import { readFileSync } from 'fs'
1818
// version support policy. The YARGS_MIN_NODE_VERSION is used for testing only.
1919
const minNodeVersion = (process && process.env && process.env.YARGS_MIN_NODE_VERSION)
2020
? Number(process.env.YARGS_MIN_NODE_VERSION)
21-
: 12
21+
: 14
2222
const nodeVersion = process?.versions?.node ?? process?.version?.slice(1)
2323
if (nodeVersion) {
2424
const major = Number(nodeVersion.match(/^([^.]+)/)![1])

0 commit comments

Comments
 (0)