We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 22f57ca commit 11d14d3Copy full SHA for 11d14d3
cells/_automation/configs.nix
@@ -27,7 +27,7 @@
27
FILES=$(git diff --cached --name-only --diff-filter=ACMR | sed 's| |\\ |g')
28
[ -z "$FILES" ] && exit 0
29
30
- fmt-ci 2>&1 | sed 's/\x1b\[[0-9;]*m//g'; fmt_ci_status="${PIPESTATUS [0]}";
+ fmt-ci 2>&1 | sed 's/\x1b\[[0-9;]*m//g'; fmt_ci_status=''${PIPESTATUS[0]};
31
[[ $fmt_ci_status -eq 0 ]] && exit 0
32
33
echo "Please add treefmt formatted file(s)!" && exit 1
0 commit comments