feat: Allow relative git repository (#41)

This commit is contained in:
Eric Tuvesson
2024-06-26 21:11:50 +02:00
committed by Richard Osborne
parent e21926d0df
commit 1d295c9462
8 changed files with 103 additions and 38 deletions

View File

@@ -22,7 +22,11 @@ export async function open(basePath: string): Promise<string> {
// console.log("VCS error when opening project: " + e);
// }
return basePath;
// Find the relative git repository path
const repositoryPath = await getTopLevelWorkingDirectory(basePath);
return repositoryPath;
}
/**