Skip to content

Commit

Permalink
Still had NPEs in the null file system
Browse files Browse the repository at this point in the history
Turns out the path we gave it was not absolute.

---
 Signed-off-by: Peter Kriens <[email protected]>

Signed-off-by: Peter Kriens <[email protected]>
  • Loading branch information
pkriens committed Mar 21, 2024
1 parent bbb2564 commit a97faeb
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -332,6 +332,6 @@ static Result<InputStream> openInputStream(URI uri, String path, IProgressMonito

static IFileStore nullFileStore(IPath path) {
return EFS.getNullFileSystem()
.getStore(path);
.getStore(path.makeAbsolute());
}
}

0 comments on commit a97faeb

Please sign in to comment.