mirror of
https://github.com/OneUptime/oneuptime
synced 2024-11-22 23:30:10 +00:00
chore: Await discardAllChangesOnCurrentBranch in Copilot/Init.ts
This commit is contained in:
parent
fad530cf86
commit
214c4e4839
@ -177,7 +177,7 @@ const init: PromiseVoidFunction = async (): Promise<void> => {
|
|||||||
} catch (e) {
|
} catch (e) {
|
||||||
logger.error(e);
|
logger.error(e);
|
||||||
currentRetryCount++;
|
currentRetryCount++;
|
||||||
CodeRepositoryUtil.discardAllChangesOnCurrentBranch();
|
await CodeRepositoryUtil.discardAllChangesOnCurrentBranch();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user