Fix clean worktree validation
This commit is contained in:
1 parent
828dceae13
commit
838ef16208
5 files changed
+7
-2
No files matched your search
@@ -768,9 +768,9 @@ export const adminRouter = router({
|
||||
}
|
||||
}
|
||||
|
||||
let resolvedCommitSha: string | null = null;
|
||||
const gitRef = input.install.gitRef?.trim();
|
||||
if (gitRef) {
|
||||
let resolvedCommitSha: string;
|
||||
try {
|
||||
resolvedCommitSha = await resolveGitCommitSha(gitRef);
|
||||
} catch (error) {
|
||||
|
||||
Reference in new issue
Block a user