There was an error while loading. Please reload this page.
1 parent a45262c commit e902745Copy full SHA for e902745
1 file changed
bin/cs
@@ -9,16 +9,4 @@ if [[ ! -f ${PHAR} ]]; then
9
chmod +x ${PHAR}
10
fi
11
12
-if [[ $# -eq 0 ]]; then
13
- DIR="src/"
14
-elif [[ -d $1 ]]; then
15
- DIR="$1"
16
- shift;
17
-else
18
- DIR="src/$(echo "$1" | sed -r 's/(^|-)(\w)/\U\2/g')"
19
20
-fi
21
-
22
-CMD="${PHAR} fix --dry-run --verbose --diff ${@} ${DIR}"
23
24
-bash -xc "${CMD}" 2>&1
+bash -xc "${PHAR} fix --dry-run --verbose --diff ${@} src/" 2>&1
0 commit comments