We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cb4796a commit f5ffde3Copy full SHA for f5ffde3
1 file changed
server/utils/dependency-resolver.ts
@@ -23,8 +23,8 @@ export const fetchPackument = defineCachedFunction(
23
24
return await $fetch<Packument>(`https://registry.npmjs.org/${encodedName}`)
25
} catch (error) {
26
- // oxlint-disable-next-line no-console -- log npm registry failures for debugging
27
if (import.meta.dev) {
+ // oxlint-disable-next-line no-console -- log npm registry failures for debugging
28
console.warn(`[dep-resolver] Failed to fetch packument for ${name}:`, error)
29
}
30
return null
0 commit comments