Skip to content

Commit 17ecc8d

Browse files
committed
Bug fix: "this.dirPath" is null
1 parent 8612c5b commit 17ecc8d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/org/deepfake_http/common/servlet/DeepfakeHttpServlet.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1165,7 +1165,7 @@ private void reload(boolean activateDirWatchers) throws Throwable {
11651165

11661166
if (activateDirWatchers) {
11671167
for (String dumpFile : dumps) {
1168-
Path path = new File(dumpFile).toPath();
1168+
Path path = new File(dumpFile).getAbsoluteFile().toPath();
11691169
Path dirPath = path.getParent();
11701170
Path filePath = path.getFileName();
11711171

0 commit comments

Comments
 (0)