mirror of
https://github.com/architectury/architectury-loom.git
synced 2026-03-30 13:05:27 -05:00
Create .idea dir if it doesn't exist.
This commit is contained in:
@@ -66,10 +66,7 @@ public abstract class IdeaSyncTask extends AbstractLoomTask {
|
||||
@TaskAction
|
||||
public void runTask() throws IOException {
|
||||
File projectDir = getProject().getRootProject().file(".idea");
|
||||
|
||||
if (!projectDir.exists()) {
|
||||
throw new RuntimeException("No .idea directory found");
|
||||
}
|
||||
projectDir.mkdirs();
|
||||
|
||||
generateRunConfigs();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user