Skip to content

Commit f4cf1ea

Browse files
committed
Fix run script to use the correct path for the HTTP server JAR file
1 parent 69a2f47 commit f4cf1ea

File tree

1 file changed

+1
-1
lines changed
  • starter_templates/scala/code/.codecrafters

1 file changed

+1
-1
lines changed

starter_templates/scala/code/.codecrafters/run.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,4 @@
88

99
set -e # Exit on failure
1010

11-
exec java -jar ./target/scala-3.7.4/http-server.jar "$@"
11+
exec java -jar "$(dirname "$0")/target/scala-3.7.4/http-server.jar" "$@"

0 commit comments

Comments
 (0)