You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Inline settings.gradle write next to path determination
Move the Files.write call up into the same block that decides we
need a temporary settings file, and collapse the two nested
try/finally blocks into one outer finally that handles both init
and settings cleanup. settingsWritten still gates the delete so a
race-introduced or pre-existing user file is never touched.
Copy file name to clipboardExpand all lines: rewrite-gradle-tooling-model/model/src/main/java/org/openrewrite/gradle/toolingapi/OpenRewriteModelBuilder.java
+19-24Lines changed: 19 additions & 24 deletions
Original file line number
Diff line number
Diff line change
@@ -79,14 +79,11 @@ public static OpenRewriteModel forProjectDirectory(File projectDir, @Nullable Fi
0 commit comments