Skip to content

Commit

Permalink
Suppress warnings for solidjs dependency crawling
Browse files Browse the repository at this point in the history
  • Loading branch information
bluwy committed Oct 14, 2022
1 parent f49d80d commit 1a167e6
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 1a167e6

Please sign in to comment.