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