mirror of
https://github.com/chriswritescode-dev/opencode-manager.git
synced 2026-12-06 04:44:21 +01:00
Add global permission request system with centralized context and dialog
This commit is contained in:
1 parent
6ce3548dfe
commit
e3a3cbde84
12 files changed
+371
-45
No files matched your search
@@ -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)
|
||||
|
||||
Reference in new issue
Block a user