Add global permission request system with centralized context and dialog

This commit is contained in:
Chris Scott committed 2025-12-26 13:36:18 -05:00
1 parent 6ce3548dfe
commit e3a3cbde84
12 files changed
+371 -45

No files matched your search

+1 -1
View File
@@ -35,7 +35,7 @@ function rowToRepo(row: RepoRow): Repo {
}
export function createRepo(db: Database, repo: CreateRepoInput): Repo {
const normalizedPath = repo.localPath.replace(/\/+$/, '')
const normalizedPath = repo.localPath.trim().replace(/\/+$/, '')
const existing = repo.isLocal
? getRepoByLocalPath(db, normalizedPath)