Normalise the results of getGitRoot

This commit is contained in:
Michael B. Gale
2026-09-22 12:32:16 +01:00
parent f5716fadf4
commit 6fb4a88ed6
2 changed files with 2 additions and 2 deletions

2
lib/entry-points.js generated
View File

@@ -147111,7 +147111,7 @@ var getGitRoot = async function(sourceRoot) {
["rev-parse", "--show-toplevel"],
`Cannot find Git repository root from the source root ${sourceRoot}.`
);
return stdout.trim();
return path4.normalize(stdout.trim());
} catch {
return void 0;
}