chore: import upstream snapshot with attribution
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
import { ensureGitRepository } from "./git.mjs";
|
||||
|
||||
export function resolveWorkspaceRoot(cwd) {
|
||||
try {
|
||||
return ensureGitRepository(cwd);
|
||||
} catch {
|
||||
return cwd;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user