Skip to content
This repository has been archived by the owner on Sep 26, 2019. It is now read-only.

Use absolute datapath instead of relative. #894

Merged
merged 8 commits into from
Feb 19, 2019
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -936,7 +936,7 @@ private File genesisFile() {

private Path dataDir() {
if (isFullInstantiation()) {
return standaloneCommands.dataPath;
return standaloneCommands.dataPath.toAbsolutePath();
} else if (isDocker) {
return Paths.get(DOCKER_DATADIR_LOCATION);
} else {
Expand Down