Skip to content

Commit

Permalink
GH-583 Fix dump copy call
Browse files Browse the repository at this point in the history
  • Loading branch information
ate47 committed Jan 29, 2025
1 parent 28f373b commit 4609e1b
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -90,8 +90,9 @@ public void afterIndexing(EndpointStore store, List<Path> mergedDatasetIndexes)
Files.createDirectories(outputLocation.getParent());
// store the dataset
for (Path path : mergedDatasetIndexes) {
Files.copy(path, outputLocation.resolve(replaceHDTFilename(path, "store")));

if (Files.exists(path)) {
Files.copy(path, outputLocation.resolve(replaceHDTFilename(path, "store")));
}
}
}
}
Expand Down

0 comments on commit 4609e1b

Please sign in to comment.