Skip to content

Commit

Permalink
Fix/unable to check for update page 4074 (#469)
Browse files Browse the repository at this point in the history
* fix: able to skip update check

* fix: skip dependency promise with offline flag

---------

Co-authored-by: Jordy Quak <[email protected]>
  • Loading branch information
jrquak and Jordy Quak authored Jul 29, 2024
1 parent fa6db58 commit bd6de2d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/bb-components-build.ts
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ const readComponents: () => Promise<Component[]> = async (): Promise<
);
}

if (transpiledFunction.dependencies) {
if (transpiledFunction.dependencies && !hasOfflineFlag) {
const usedPackages = (
transpiledFunction.dependencies as ComponentDependency[]
).map((usedDependency) => usedDependency.package);
Expand Down

0 comments on commit bd6de2d

Please sign in to comment.