| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -811,7 +811,7 @@ async function getPackageType(url) { | |||
| 811 | 811 | .catch((err) => { | |
| 812 | 812 | if (err?.code !== 'ENOENT') console.error(err); | |
| 813 | 813 | }); | |
| 814 | - // Ff package.json existed and contained a `type` field with a value, voila | ||
| 814 | + // If package.json existed and contained a `type` field with a value, voilà | ||
| 815 | 815 | if (type) return type; | |
| 816 | 816 | // Otherwise, (if not at the root) continue checking the next directory up | |
| 817 | 817 | // If at the root, stop and return false | |
| Back | FazBrowse Home | New Git URL |
0 commit comments