Skip to content

Commit

Permalink
Suppress warnings for solidjs dependency crawling (#5089)
Browse files Browse the repository at this point in the history
  • Loading branch information
bluwy authored Oct 14, 2022
1 parent 49a8d18 commit 0173c2b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
5 changes: 5 additions & 0 deletions .changeset/silver-hotels-jam.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@astrojs/solid-js': patch
---

Suppress warnings for dependency crawling
4 changes: 1 addition & 3 deletions packages/integrations/solid/src/dependencies.ts
Original file line number Diff line number Diff line change
Expand Up @@ -45,9 +45,7 @@ export function getSolidDeps(root: URL) {
}
dir = parent;
}
} catch (e) {
console.warn("Couldn't find package.json for", dep, e);
}
} catch {}
}
});
return deps.reduce<string[]>((acc, dep, i) => {
Expand Down

0 comments on commit 0173c2b

Please sign in to comment.