chore: Await discardAllChangesOnCurrentBranch in Copilot/Init.ts

This commit is contained in:
Simon Larsen 2024-07-10 13:43:59 +01:00
parent fad530cf86
commit 214c4e4839
No known key found for this signature in database
GPG Key ID: 96C5DCA24769DBCA

View File

@ -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();
} }
} }