Skip to content

Commit fe118bc

Browse files
author
Lasse Benninga
committed
fix(grader_lib): use if-then instead of [[]] && to avoid set -e exit
1 parent 772cea7 commit fe118bc

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.hyf/grader_lib.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ check_gitignore_python() {
121121
warn ".gitignore missing .env — secret files should not be committed"
122122
ok=false
123123
fi
124-
[[ "$ok" = true ]] && pass ".gitignore correctly excludes __pycache__/, *.pyc, and .env"
124+
if [[ "$ok" = true ]]; then pass ".gitignore correctly excludes __pycache__/, *.pyc, and .env"; fi
125125
}
126126

127127
check_screenshot_is_png() {

0 commit comments

Comments
 (0)