Skip to content

Commit

Permalink
Fix SpotBugs warning
Browse files Browse the repository at this point in the history
  • Loading branch information
mikir committed Dec 9, 2024
1 parent e69ef14 commit 49c6bf6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion compiler/core/src/zserio/tools/ExtensionManager.java
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ private File getWorkingDirectory()
final Path execParentPath = execPath.getParent();
System.out.println("execParentPath = " + execParentPath);

return execParentPath.toFile();
return (execParentPath == null) ? null : execParentPath.toFile();
}
catch (SecurityException | URISyntaxException excpt)
{
Expand Down

0 comments on commit 49c6bf6

Please sign in to comment.