Skip to content

Commit e902745

Browse files
authored
Update cs
1 parent a45262c commit e902745

1 file changed

Lines changed: 1 addition & 13 deletions

File tree

bin/cs

Lines changed: 1 addition & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -9,16 +9,4 @@ if [[ ! -f ${PHAR} ]]; then
99
chmod +x ${PHAR}
1010
fi
1111

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-
shift;
20-
fi
21-
22-
CMD="${PHAR} fix --dry-run --verbose --diff ${@} ${DIR}"
23-
24-
bash -xc "${CMD}" 2>&1
12+
bash -xc "${PHAR} fix --dry-run --verbose --diff ${@} src/" 2>&1

0 commit comments

Comments
 (0)