fix(tools): always use posix for path resolving (#9627)
This commit is contained in:
@@ -45,7 +45,7 @@ const gitShortHash = once(() => {
|
||||
if (GITHUB_SHA) {
|
||||
return GITHUB_SHA.substring(0, 9);
|
||||
}
|
||||
const repo = new Repository(ProjectRoot.path);
|
||||
const repo = new Repository(ProjectRoot.value);
|
||||
const shortSha = repo.head().target()?.substring(0, 9);
|
||||
if (shortSha) {
|
||||
return shortSha;
|
||||
|
||||
Reference in New Issue
Block a user