hasundue / molt

Update dependencies the Deno way
https://jsr.io/@molt
MIT License
79 stars 5 forks source link

molt doesn't detect an export if there is an import of the same url #85

Closed sigmaSd closed 11 months ago

sigmaSd commented 11 months ago

a.ts

import {} from "https://deno.land/x/python@0.4.2/mod.ts"; // removing this line fixes the problem
export * from "https://deno.land/x/python@0.4.1/mod.ts";

I expect molt update a.ts to prompt for the export line update, but it doesn't. If I remove the import line, it gets detected correctly.

hasundue commented 11 months ago

Reproduced. Thanks for reporting.