File tree 1 file changed +8
-8
lines changed 1 file changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -92,13 +92,13 @@ export async function writeTypes (nitro: Nitro) {
92
92
resolveJsonModule : true ,
93
93
paths : nitro . options . typescript . internalPaths
94
94
? {
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
+ }
102
102
: { }
103
103
} ,
104
104
include : [
@@ -245,7 +245,7 @@ async function _watch (nitro: Nitro, rollupConfig: RollupConfig) {
245
245
246
246
function formatRollupError ( _error : RollupError | OnResolveResult ) {
247
247
try {
248
- let logs : string [ ] = [ ]
248
+ const logs : string [ ] = [ ]
249
249
for ( const error of ( 'errors' in _error ? _error . errors : [ _error as RollupError ] ) ) {
250
250
const id = error . id || ( _error as RollupError ) . id
251
251
let path = isAbsolute ( id ) ? relative ( process . cwd ( ) , id ) : id
You can’t perform that action at this time.
0 commit comments