Skip to content

Commit

Permalink
Merge pull request alibaba#2265 from JerryChin/develop
Browse files Browse the repository at this point in the history
[ISSUE  alibaba#1781]  Fix hard-coded file separator
  • Loading branch information
nkorange authored Jan 8, 2020
2 parents 45c333c + aa9cd36 commit 0ed8e6f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ static public String getLocalConfigMd5(String dataId, String group, String tenan
}

static public File heartBeatFile() {
return new File(NACOS_HOME, "status/heartBeat.txt");
return new File(NACOS_HOME, "status" + File.separator + "heartBeat.txt");
}

static public String relativePath(String dataId, String group) {
Expand Down

0 comments on commit 0ed8e6f

Please sign in to comment.