diff --git a/src/components/AutoUpdateComponent.ts b/src/components/AutoUpdateComponent.ts index f65f171..c6b75b3 100644 --- a/src/components/AutoUpdateComponent.ts +++ b/src/components/AutoUpdateComponent.ts @@ -31,6 +31,9 @@ export default class AutoUpdateComponent extends ApplicationComponent { try { Logger.info('Starting auto update...'); + // Fetch + await this.runCommand(`git fetch`); + // Checkout new source await this.runCommand(`git checkout ${checkout_sha}`);