Skip to content

Commit

Permalink
rename case
Browse files Browse the repository at this point in the history
  • Loading branch information
pi0 committed Oct 28, 2023
1 parent ce378a4 commit b183043
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/nitro.ts
Original file line number Diff line number Diff line change
Expand Up @@ -122,13 +122,13 @@ export async function createNitro(
const modules = await Promise.all(
_modules.map((mod) => resolveNitroModule(mod, nitro.options))
);
const _installedURLS = new Set<string>();
const _installedURLs = new Set<string>();
for (const mod of modules) {
if (mod._url) {
if (_installedURLS.has(mod._url)) {
if (_installedURLs.has(mod._url)) {
continue;
}
_installedURLS.add(mod._url);
_installedURLs.add(mod._url);
}
await mod.setup(nitro);
}

Check warning on line 134 in src/nitro.ts

View check run for this annotation

Codecov / codecov/patch

src/nitro.ts#L127-L134

Added lines #L127 - L134 were not covered by tests
Expand Down

0 comments on commit b183043

Please sign in to comment.