From bd6de2d4ac0e06167c3c971c94d0280dfb34e04a Mon Sep 17 00:00:00 2001 From: "J. Quak" Date: Mon, 29 Jul 2024 13:02:07 +0200 Subject: [PATCH] Fix/unable to check for update page 4074 (#469) * fix: able to skip update check * fix: skip dependency promise with offline flag --------- Co-authored-by: Jordy Quak --- src/bb-components-build.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bb-components-build.ts b/src/bb-components-build.ts index 126b99a0..6e71e8ee 100644 --- a/src/bb-components-build.ts +++ b/src/bb-components-build.ts @@ -120,7 +120,7 @@ const readComponents: () => Promise = async (): Promise< ); } - if (transpiledFunction.dependencies) { + if (transpiledFunction.dependencies && !hasOfflineFlag) { const usedPackages = ( transpiledFunction.dependencies as ComponentDependency[] ).map((usedDependency) => usedDependency.package);