Skip to content

Commit

Permalink
[scripting] Fix NPE in aether.kt
Browse files Browse the repository at this point in the history
  • Loading branch information
ileasile committed Nov 11, 2021
1 parent 27cfcb9 commit 57543f5
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 57543f5

Please sign in to comment.