Skip to content

Commit da50317

Browse files
committed
Enable strict error checking in just fix
Signed-off-by: Wiktor Kwapisiewicz <wiktor@metacode.biz>
1 parent 51eaf1e commit da50317

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.justfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,7 @@ check-commits REFS='main..':
7272
# Fixes common issues. Files need to be git add'ed
7373
fix:
7474
#!/usr/bin/env bash
75+
set -euo pipefail
7576
if ! git diff-files --quiet ; then
7677
echo "Working tree has changes. Please stage them: git add ."
7778
exit 1

0 commit comments

Comments
 (0)