File tree 1 file changed +4
-4
lines changed
io.sloeber.core/src/io/sloeber/core
1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -219,14 +219,14 @@ private boolean DownloadFolderConditionsOK() {
219
219
boolean cantWrite = !installPath .toFile ().canWrite ();
220
220
boolean windowsPathToLong = false ;
221
221
if (Platform .getOS ().equals (Platform .OS_WIN32 )) {
222
- windowsPathToLong = installPath .toString ().length () > 100 ;
222
+ windowsPathToLong = installPath .toString ().length () > 40 ;
223
223
}
224
224
if (cantWrite || windowsPathToLong ) {
225
225
String errorMessage = cantWrite ? "The plugin Needs write access to " + installPath .toString ()
226
- : Const . EMPTY_STRING ;
227
- errorMessage += ((windowsPathToLong && cantWrite ) ? '\n' : Const . EMPTY_STRING );
226
+ : new String () ;
227
+ errorMessage += ((windowsPathToLong && cantWrite ) ? '\n' : new String () );
228
228
errorMessage += (windowsPathToLong ? "The path " + installPath .toString () + " is to long"
229
- : Const . EMPTY_STRING );
229
+ : new String () );
230
230
231
231
Common .log (new Status (IStatus .ERROR , PLUGIN_ID , errorMessage ));
232
232
return false ;
You can’t perform that action at this time.
0 commit comments