Skip to content
Permalink
Browse files
Add / at the end
  • Loading branch information
LadyCailin committed Apr 25, 2020
1 parent 8734133 commit 1be2ece401e2fec13d6b9fa7a3dd6874c561ce1c
Showing 1 changed file with 1 addition and 1 deletion.
@@ -204,7 +204,7 @@ public Mixed exec(Target t, Environment env, Mixed... args) throws ConfigRuntime
return new CString("Unknown (maybe the interpreter?)", t);
} else {
try {
String dir = t.file().getParentFile().getCanonicalPath().replace('\\', '/');
String dir = t.file().getParentFile().getCanonicalPath().replace('\\', '/') + "/";
return new CString(dir, t);
} catch (IOException ex) {
throw new CREIOException(ex.getMessage(), t);

0 comments on commit 1be2ece

Please sign in to comment.