File: 4_not-git-dir.sh

package info (click to toggle)
node-husky 9.1.7-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 952 kB
  • sloc: sh: 182; javascript: 79; makefile: 9
file content (11 lines) | stat: -rwxr-xr-x 155 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
#!/bin/sh
. test/functions.sh
setup
install

# Should not fail
rm -rf .git
expect 0 "npx --no-install husky"

mkdir .git
expect 0 "npx --no-install husky"