Rich-Harris / agadoo

Check whether a package is tree-shakeable
MIT License
535 stars 17 forks source link

Fix `utf-8` argument #17

Open LeviPesin opened 1 year ago

LeviPesin commented 1 year ago

Instead of https://github.com/Rich-Harris/agadoo/pull/13.

utf-8 should be an argument not of the JSON.parse, but rather fs.readFileSync.