Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

warn about dropping 0.10 support #124

Closed
bcoe opened this issue Oct 6, 2016 · 2 comments
Closed

warn about dropping 0.10 support #124

bcoe opened this issue Oct 6, 2016 · 2 comments

Comments

@bcoe
Copy link
Member

bcoe commented Oct 6, 2016

@Tapppi @stevemao standard has also dropped < 4 support, but they've added this clever line to their CLI:

#!/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.')
} else {
  var opts = require('../options')
  require('standard-engine').cli(opts)
}
@bcoe
Copy link
Member Author

bcoe commented Dec 28, 2016

@Tapppi nice, I love this :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

2 participants
@bcoe and others