From 68230b6960213a9696919c2986ef15b4a889148d Mon Sep 17 00:00:00 2001 From: Abdulrhmn Ghanem Date: Mon, 3 Jul 2023 00:24:05 +0300 Subject: [PATCH] fix early exit for registry cloning --- processor/src/queues.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/processor/src/queues.ts b/processor/src/queues.ts index 42713efd2e..50111b18f4 100644 --- a/processor/src/queues.ts +++ b/processor/src/queues.ts @@ -187,6 +187,7 @@ async function sync(gitDir, checkoutDir) { if (registryHash != null) { // no need to pull if we aren't going to use the latest commit done() + return } log.debug('Pulling updates for', gitDir)