8 lines
196 B
Plaintext
8 lines
196 B
Plaintext
|
#!/bin/sh
|
||
|
. "$(dirname "$0")/_/husky.sh"
|
||
|
|
||
|
STAGED_CS=`git diff --cached --name-only --diff-filter=ACMR --pickaxe-regex "*.cs" | tr '\n' ';'`
|
||
|
|
||
|
dotnet husky run --group pre-commit --args $STAGED_CS
|
||
|
|