chore: import upstream snapshot with attribution

This commit is contained in:
wehub-resource-sync
2026-07-13 12:39:44 +08:00
commit 93aa9c11ee
64 changed files with 11530 additions and 0 deletions
+9
View File
@@ -0,0 +1,9 @@
import { ensureGitRepository } from "./git.mjs";
export function resolveWorkspaceRoot(cwd) {
try {
return ensureGitRepository(cwd);
} catch {
return cwd;
}
}