husky
Advanced tools
Comparing version 4.3.7 to 4.3.8
@@ -12,5 +12,5 @@ "use strict"; | ||
if (status !== 0) { | ||
throw new Error(stderr.toString()); | ||
throw new Error(`git --version command failed. Got ${String(stderr)}.`); | ||
} | ||
const [version] = find_versions_1.default(stdout.toString()); | ||
const [version] = find_versions_1.default(String(stdout)); | ||
if (compare_versions_1.default(version, '2.13.0') === -1) { | ||
@@ -17,0 +17,0 @@ throw new Error(`Husky requires Git >=2.13.0. Got v${version}.`); |
@@ -13,3 +13,3 @@ "use strict"; | ||
if (status !== 0) { | ||
throw new Error(stderr.toString()); | ||
throw new Error(`git rev-parse command failed. Got ${String(stderr)}`); | ||
} | ||
@@ -16,0 +16,0 @@ const [prefix, gitCommonDir] = stdout |
{ | ||
"name": "husky", | ||
"version": "4.3.7", | ||
"version": "4.3.8", | ||
"description": "Prevents bad commit or push (git hooks, pre-commit/precommit, pre-push/prepush, post-merge/postmerge and all that stuff...)", | ||
@@ -5,0 +5,0 @@ "bin": { |
Sorry, the diff of this file is not supported yet
53548