Skip to content

Commit 11d14d3

Browse files
fix escape
1 parent 22f57ca commit 11d14d3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cells/_automation/configs.nix

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
FILES=$(git diff --cached --name-only --diff-filter=ACMR | sed 's| |\\ |g')
2828
[ -z "$FILES" ] && exit 0
2929
30-
fmt-ci 2>&1 | sed 's/\x1b\[[0-9;]*m//g'; fmt_ci_status="${PIPESTATUS [0]}";
30+
fmt-ci 2>&1 | sed 's/\x1b\[[0-9;]*m//g'; fmt_ci_status=''${PIPESTATUS[0]};
3131
[[ $fmt_ci_status -eq 0 ]] && exit 0
3232
3333
echo "Please add treefmt formatted file(s)!" && exit 1

0 commit comments

Comments
 (0)