Skip to content

Commit 49c6bf6

Browse files
committed
Fix SpotBugs warning
1 parent e69ef14 commit 49c6bf6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler/core/src/zserio/tools/ExtensionManager.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ private File getWorkingDirectory()
153153
final Path execParentPath = execPath.getParent();
154154
System.out.println("execParentPath = " + execParentPath);
155155

156-
return execParentPath.toFile();
156+
return (execParentPath == null) ? null : execParentPath.toFile();
157157
}
158158
catch (SecurityException | URISyntaxException excpt)
159159
{

0 commit comments

Comments
 (0)