Skip to content

Commit 05f371a

Browse files
committed
removed startsWith check as those are already resolved
1 parent 3f4d264 commit 05f371a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

esm/interpreter/pyodide.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ export default {
8585
if (hasOwn(graph, version)) {
8686
const invalid = packages.filter(entry => {
8787
// consider only packages by name but not remote/local ones
88-
if (/^https?:\/\//.test(entry) || entry.startsWith('.')) return false;
88+
if (/^https?:\/\//.test(entry)) return false;
8989
const [name, ...rest] = entry.split(/[>=<]=/);
9090
const known = hasOwn(graph[version], name);
9191
return !known || (rest.length > 0 && rest[0] !== graph[version][name]);

0 commit comments

Comments
 (0)