Skip to content

Commit 229dff2

Browse files
authored
Merge pull request #70 from oded-cloud-endure/patch-1
Fix to support node versions higher than 9.
2 parents 1ee56e0 + 958ee25 commit 229dff2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bin/kick

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ process.bin = process.title = 'kick';
55

66
// Not using ES6 syntax here, so checking for older node versions will work
77

8-
var nodeVersionRegex = /v(\d)\.\d/;
8+
var nodeVersionRegex = /v(\d+)\.\d/;
99
var child_process = require('child_process');
1010
var nodeVersion = child_process.execSync('node -v').toString();
1111
var colors = require('colors');

0 commit comments

Comments
 (0)