Skip to content

Commit

Permalink
fix(core): do not try to "update" local imports
Browse files Browse the repository at this point in the history
  • Loading branch information
hasundue committed Jun 13, 2024
1 parent 1bf9737 commit f728f74
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions core/update.ts
Original file line number Diff line number Diff line change
Expand Up @@ -286,6 +286,9 @@ async function collectFromDependency(
{ cause: dependencyJson },
);
}
if (resolved.startsWith("file:")) {
return { locks: [], updates: [] };
}
const lock = options.lockFile
? await createLockPart(resolved, options.lockFile)
: undefined;
Expand Down

0 comments on commit f728f74

Please sign in to comment.