Suppress warnings for solidjs dependency crawling (#5089)
This commit is contained in:
parent
49a8d18b49
commit
0173c2b2df
2 changed files with 6 additions and 3 deletions
5
.changeset/silver-hotels-jam.md
Normal file
5
.changeset/silver-hotels-jam.md
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
---
|
||||||
|
'@astrojs/solid-js': patch
|
||||||
|
---
|
||||||
|
|
||||||
|
Suppress warnings for dependency crawling
|
|
@ -45,9 +45,7 @@ export function getSolidDeps(root: URL) {
|
||||||
}
|
}
|
||||||
dir = parent;
|
dir = parent;
|
||||||
}
|
}
|
||||||
} catch (e) {
|
} catch {}
|
||||||
console.warn("Couldn't find package.json for", dep, e);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
return deps.reduce<string[]>((acc, dep, i) => {
|
return deps.reduce<string[]>((acc, dep, i) => {
|
||||||
|
|
Loading…
Reference in a new issue