Skip to content

Commit 158b52c

Browse files
committed
style: lint
1 parent 6f25783 commit 158b52c

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

src/build.ts

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -92,13 +92,13 @@ export async function writeTypes (nitro: Nitro) {
9292
resolveJsonModule: true,
9393
paths: nitro.options.typescript.internalPaths
9494
? {
95-
'#internal/nitro': [
96-
join(runtimeDir, 'index')
97-
],
98-
'#internal/nitro/*': [
99-
join(runtimeDir, '*')
100-
]
101-
}
95+
'#internal/nitro': [
96+
join(runtimeDir, 'index')
97+
],
98+
'#internal/nitro/*': [
99+
join(runtimeDir, '*')
100+
]
101+
}
102102
: {}
103103
},
104104
include: [
@@ -245,7 +245,7 @@ async function _watch (nitro: Nitro, rollupConfig: RollupConfig) {
245245

246246
function formatRollupError (_error: RollupError | OnResolveResult) {
247247
try {
248-
let logs: string[] = []
248+
const logs: string[] = []
249249
for (const error of ('errors' in _error ? _error.errors : [_error as RollupError])) {
250250
const id = error.id || (_error as RollupError).id
251251
let path = isAbsolute(id) ? relative(process.cwd(), id) : id

0 commit comments

Comments
 (0)