Skip to content

Commit 0636282

Browse files
Update run
Co-authored-by: Arpit Bhardwaj <proffapt@pm.me>
1 parent 0a46473 commit 0636282

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

run

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -216,7 +216,8 @@ run() {
216216
elif [[ ${FILE#*.} == hs ]]; then
217217
if [[ $DEBUG == true ]]; then
218218
ghci "$FILE"
219-
elif [[ $COMPILE == true ]]; then
219+
fi
220+
if [[ $COMPILE == true ]]; then
220221
ghc --make "$FILE"
221222
else
222223
runghc "$FILE"

0 commit comments

Comments
 (0)