From c9aa08010d2c0b3715e86f14b65046fc9e1a572d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=B5=B5=E9=95=BF=E4=BC=9F?= Date: Wed, 1 Apr 2020 14:17:12 +0800 Subject: [PATCH] fix: lint --- bin/run.js | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/bin/run.js b/bin/run.js index 0c36fb1a8..c7833658a 100755 --- a/bin/run.js +++ b/bin/run.js @@ -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." + ) } })