Skip to content

Commit

Permalink
Ensure scriptDirectory ends in a "/"
Browse files Browse the repository at this point in the history
  • Loading branch information
seanmorris committed Sep 24, 2024
1 parent dd53f0b commit 8a29ec7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/shell.js
Original file line number Diff line number Diff line change
Expand Up @@ -240,7 +240,7 @@ if (ENVIRONMENT_IS_NODE) {
scriptDirectory = __dirname;
#endif

scriptDirectory =+ '/' // scriptDirectory is expected to end in a "/"
scriptDirectory += '/' // scriptDirectory is expected to end in a "/"

#include "node_shell_read.js"

Expand Down

0 comments on commit 8a29ec7

Please sign in to comment.