Skip to content

Commit 3d363fa

Browse files
committed
Handle diff exit code
1 parent cb270bb commit 3d363fa

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

dev/github-actions/edit-settings.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,4 +36,8 @@ then
3636
fi
3737

3838
log "settings changed:"
39+
# There will be changes, so the diff exit code will be 1:
40+
set +e
41+
set -x
3942
diff $SETTINGS_ORIG $SETTINGS_SH
43+
log "SUCCESS"

0 commit comments

Comments
 (0)