Skip to content

Commit

Permalink
Fix error when purging a map but the directory is already deleted. Fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
TBlueF committed Nov 18, 2023
1 parent 28c9166 commit 5f0942a
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -191,6 +191,8 @@ public void deleteMeta(String mapId, String name) throws IOException {
@Override
public void purgeMap(String mapId, Function<ProgressInfo, Boolean> onProgress) throws IOException {
final Path directory = getFilePath(mapId);
if (!Files.exists(directory)) return;

final int subFilesCount;
final LinkedList<Path> subFiles;

Expand Down

0 comments on commit 5f0942a

Please sign in to comment.