Changing more loggings levels.

refs #135
This commit is contained in:
softsimon
2020-10-13 17:48:43 +07:00
parent cbcfbe5b36
commit 4399c5e8e9
4 changed files with 9 additions and 4 deletions

View File

@@ -18,6 +18,10 @@ class BackendInfo {
};
}
public getShortCommitHash() {
return this.gitCommitHash.slice(0, 7);
}
private setLatestCommitHash(): void {
try {
this.gitCommitHash = fs.readFileSync('../.git/refs/heads/master').toString().trim();