Skip to content

Commit 3058740

Browse files
committed
Merge pull request #413 from nafep/master
#409: Fixed inconsistent path separator in get/setPrivateLibraryPaths.
2 parents 6ef393e + ada73d0 commit 3058740

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

it.baeyens.arduino.common/src/it/baeyens/arduino/common/InstancePreferences.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -330,7 +330,7 @@ public static String[] getPrivateLibraryPaths() {
330330
}
331331

332332
public static void setPrivateLibraryPaths(String[] folderName) {
333-
setGlobalValue(KEY_PRIVATE_LIBRARY_PATHS, String.join("\n", folderName)); //$NON-NLS-1$
333+
setGlobalValue(KEY_PRIVATE_LIBRARY_PATHS, String.join(File.pathSeparator, folderName)); //$NON-NLS-1$
334334
}
335335

336336
public static String[] getPrivateHardwarePaths() {

0 commit comments

Comments
 (0)