Skip to content

Commit

Permalink
allow FileSystemConfigPersistence to fail on missing root dir (#4987)
Browse files Browse the repository at this point in the history
  • Loading branch information
cgardens authored Jul 26, 2021
1 parent 718bd75 commit 27ab9de
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ public static ConfigPersistence createWithValidation(final Path storageRoot) thr

public FileSystemConfigPersistence(final Path storageRoot) {
this.storageRoot = storageRoot;
this.configRoot = Exceptions.toRuntime(() -> Files.createDirectories(storageRoot.resolve(CONFIG_DIR)));
this.configRoot = storageRoot.resolve(CONFIG_DIR);
}

@Override
Expand Down

0 comments on commit 27ab9de

Please sign in to comment.