Skip to content

Commit

Permalink
feat(di): set docker inspector's working dir (to inside outputDirectory)
Browse files Browse the repository at this point in the history
  • Loading branch information
stevebillings committed Apr 21, 2020
1 parent dbc03ea commit 0f23c8d
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -66,8 +66,9 @@ public void populatePropertiesFile(final File dockerPropertiesFile, final File o
dockerProperties.store(new FileOutputStream(dockerPropertiesFile), "");
}

private File createDir(final File parentDir, final String newDirName) {
private File createDir(final File parentDir, final String newDirName) throws IOException {
final File newDir = new File(parentDir, newDirName);
Files.createDirectories(newDir.toPath());
return newDir;
}
}

0 comments on commit 0f23c8d

Please sign in to comment.