Skip to content

Commit

Permalink
Merge pull request #70 from oded-cloud-endure/patch-1
Browse files Browse the repository at this point in the history
Fix to support node versions higher than 9.
  • Loading branch information
morsdyce authored Sep 26, 2019
2 parents 1ee56e0 + 958ee25 commit 229dff2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/kick
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ process.bin = process.title = 'kick';

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

var nodeVersionRegex = /v(\d)\.\d/;
var nodeVersionRegex = /v(\d+)\.\d/;
var child_process = require('child_process');
var nodeVersion = child_process.execSync('node -v').toString();
var colors = require('colors');
Expand Down

0 comments on commit 229dff2

Please sign in to comment.