Skip to content

Commit

Permalink
fix(entrypoint): remove extra fi
Browse files Browse the repository at this point in the history
  • Loading branch information
LEEDASILVA committed Nov 7, 2023
1 parent 1f583d0 commit e762e5c
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ cp -r student piscine-go
cd piscine-go

if test "$CODE_EDITOR_MODE"; then
go mod init main 2>/dev/null
go mod init piscine 2>/dev/null
GOSUMDB=off go get github.com/01-edu/[email protected] 2>/dev/null
fi

Expand All @@ -24,7 +24,6 @@ if test "$CODE_EDITOR_RUN_ONLY" = true; then
else
# The exercise is a function
go run . "$@"
fi
fi
exit
fi
Expand Down

0 comments on commit e762e5c

Please sign in to comment.