fix: write access error on project creation
This commit is contained in:
parent
24bae771ba
commit
0d9c16d7ec
2 changed files with 5 additions and 1 deletions
|
@ -20,6 +20,9 @@ Changelog structure reference:
|
|||
|
||||
### Fixed
|
||||
|
||||
- Project
|
||||
- Creating new project throws a write access error when git is enabled
|
||||
|
||||
- Zig
|
||||
- Accidental regression while renaming the action IDs that broke "find usages"
|
||||
|
||||
|
|
|
@ -16,6 +16,7 @@
|
|||
|
||||
package com.falsepattern.zigbrains.project.ide.newproject;
|
||||
|
||||
import com.falsepattern.zigbrains.common.util.ApplicationUtil;
|
||||
import com.falsepattern.zigbrains.project.ide.util.projectwizard.ZigModuleBuilder;
|
||||
import com.falsepattern.zigbrains.project.platform.ZigProjectGeneratorPeer;
|
||||
import com.falsepattern.zigbrains.zig.Icons;
|
||||
|
@ -94,7 +95,7 @@ public class ZigNewProjectWizard implements LanguageGeneratorNewProjectWizard {
|
|||
return;
|
||||
}
|
||||
if (gitData.getGit()) {
|
||||
createGitIgnoreFile(getContext().getProjectDirectory(), module);
|
||||
ApplicationUtil.writeAction(() -> createGitIgnoreFile(getContext().getProjectDirectory(), module));
|
||||
}
|
||||
});
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue