Skip to content

Commit

Permalink
Fixed Null Pointer for creating folder
Browse files Browse the repository at this point in the history
  • Loading branch information
MarioRivis committed May 2, 2022
1 parent bb8bcee commit f54f321
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dx-voyager/src/main/kotlin/org/dxworks/voyager/Main.kt
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ fun main(args: Array<String>) {
.listFiles(FileFilter { FileSystems.getDefault().getPathMatcher("glob:**/*.log").matches(it.toPath()) })
?: emptyArray()

File(missionControl.resultsPath).parentFile.mkdirs()
File(missionControl.resultsPath).absoluteFile.parentFile?.mkdirs()
val containerContent =
ResultsContainer(missionControl.resultsPath).fill(
instrumentResults,
Expand Down

0 comments on commit f54f321

Please sign in to comment.