Skip to content

Commit 6a1a224

Browse files
author
jantje
committed
The sloeber.cfg did not always store with the $SLOEBER_HOME tag
Which makes portability basically impossible
1 parent 4992600 commit 6a1a224

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

io.sloeber.core/src/io/sloeber/core/common/Common.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -238,7 +238,7 @@ public static String makePathEnvironmentString(IPath path) {
238238
}
239239

240240
public static String makePathVersionString(File file) {
241-
return file.getPath().replace(sloeberHomePathToString, SLOEBER_HOME_VAR);
241+
return new Path(file.getPath()).toString().replace(sloeberHomePathToString, SLOEBER_HOME_VAR);
242242
}
243243

244244
/**

0 commit comments

Comments
 (0)