We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2945907 commit 500d450Copy full SHA for 500d450
src/index.ts
@@ -19,6 +19,7 @@ export function install(dir = '.husky'): void {
19
// If git command is not found, status is null and we should return.
20
// That's why status value needs to be checked explicitly.
21
if (git(['rev-parse']).status !== 0) {
22
+ l(`git must be installed on your machine`)
23
return
24
}
25
0 commit comments