Skip to content

Commit

Permalink
Merge pull request #1190 from Gerhut/patch-1
Browse files Browse the repository at this point in the history
Silently pass in node 4
  • Loading branch information
feross committed Aug 30, 2018
2 parents e1560df + 9ee4d0f commit 523c15e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bin/cmd.js
@@ -1,7 +1,7 @@
#!/usr/bin/env node

if (process.version.match(/v(\d+)\./)[1] < 4) {
console.error('standard: Node v4 or greater is required. `standard` did not run.')
if (process.version.match(/v(\d+)\./)[1] < 6) {
console.error('standard: Node 6 or greater is required. `standard` did not run.')
} else {
var opts = require('../options')
require('standard-engine').cli(opts)
Expand Down

0 comments on commit 523c15e

Please sign in to comment.