Skip to content

Commit

Permalink
[scripting] Fix NPE in aether.kt
Browse files Browse the repository at this point in the history
(cherry picked from commit 57543f5)
  • Loading branch information
ileasile committed Nov 11, 2021
1 parent d5275aa commit 583488e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,7 @@ internal class AetherResolveSession(
): Settings {
var main = result.effectiveSettings
val files = File(System.getProperty("user.dir"))
.parentFile.listFiles(
.parentFile?.listFiles(
NameFileFilter("interpolated-settings.xml") as FileFilter
)
val settingsFile = files?.singleOrNull()
Expand Down

0 comments on commit 583488e

Please sign in to comment.