Skip to content

Commit

Permalink
fix: lint
Browse files Browse the repository at this point in the history
  • Loading branch information
zhangciwu committed Apr 1, 2020
1 parent 2ebc6ad commit a458c60
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions bin/run.js
Expand Up @@ -6,10 +6,14 @@ const pkg = require('../package.json')
// Node version isn't supported, skip
pleaseUpgradeNode(pkg, {
message(requiredVersion) {
return 'Husky requires Node ' +
return (
'Husky requires Node ' +
requiredVersion +
' (runtime: ' + process.version + ')' +
' (runtime: ' +
process.version +
')' +
", can't run Git hook."
)
}
})

Expand Down

0 comments on commit a458c60

Please sign in to comment.