mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
don't complain about directory not being writable if it doesn't exist (IDEA-77763)
This commit is contained in:
@@ -152,7 +152,7 @@ public class ProjectNameStep extends ModuleWizardStep {
|
||||
}
|
||||
|
||||
final File file = new File(projectFileDirectory);
|
||||
if (!file.canWrite()) {
|
||||
if (file.exists() && !file.canWrite()) {
|
||||
throw new ConfigurationException(String.format("Directory '%s' is not writable!\nPlease choose another project location.", projectFileDirectory));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user