Skip to content

Commit 4729e1b

Browse files
authored
updated minimum supported NPM version (eslint dependency)
1 parent d174584 commit 4729e1b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

@bellatrix/runner/bellatrix.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
console.log('DEBUG: starting bellatrix'); // DEBUG
44

55
const nodeVersion = process.versions.node.split('.');
6-
if (parseInt(nodeVersion[0].replace()) < 20 || (parseInt(nodeVersion[0]) == 20 && parseInt(nodeVersion[1]) < 6)) {
7-
throw Error(`You need Node runtime version 20.6.0 minimum. Current version: ${process.versions.node}`);
6+
if (parseInt(nodeVersion[0].replace()) < 20 || (parseInt(nodeVersion[0]) == 20 && parseInt(nodeVersion[1]) < 9)) {
7+
throw Error(`You need Node runtime version 20.9.0 minimum. Current version: ${process.versions.node}`);
88
}
99

1010
import { spawnSync } from 'child_process';

0 commit comments

Comments
 (0)