From f728f74bab57098701622d72362db4300948a7a2 Mon Sep 17 00:00:00 2001 From: hasundue Date: Thu, 13 Jun 2024 12:52:35 +0900 Subject: [PATCH] fix(core): do not try to "update" local imports --- core/update.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/core/update.ts b/core/update.ts index 8777b750..53b00226 100644 --- a/core/update.ts +++ b/core/update.ts @@ -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;