Skip to content

Commit

Permalink
style: lint
Browse files Browse the repository at this point in the history
  • Loading branch information
danielroe committed Aug 15, 2023
1 parent 5ae5b65 commit a5b7a25
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/build.ts
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,9 @@ export async function writeTypes(nitro: Nitro) {
// TODO: fully resolve utils exported from `#imports`
autoImportExports = await nitro.unimport
.toExports(typesDir)
.then((r) => r.replace(/#internal\/nitro/g, relative(typesDir, runtimeDir)));
.then((r) =>
r.replace(/#internal\/nitro/g, relative(typesDir, runtimeDir))
);

const resolvedImportPathMap = new Map<string, string>();
const imports = await nitro.unimport
Expand Down

0 comments on commit a5b7a25

Please sign in to comment.