Skip to content

Commit

Permalink
Fix finding deploy directory when outputdir blank (#313)
Browse files Browse the repository at this point in the history
Fixes #260
  • Loading branch information
sciencewhiz authored Dec 16, 2024
1 parent 58e4609 commit 44b09ac
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@ public Field getField() {
* @return File object of Folder to output generated paths to.
*/
public File getOutputDir() {
if (values.getOutputDir() == null) {
if (values.getOutputDir() == null || values.getOutputDir().isBlank()) {
File parentDirectory = new File(directory).getParentFile();
return getOutputDir(parentDirectory);
} else {
Expand Down

0 comments on commit 44b09ac

Please sign in to comment.