Skip to content

Commit 0696be5

Browse files
authored
Fix exit error messages (#276)
1 parent 496c91b commit 0696be5

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/index.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -232,9 +232,9 @@ function resolveLaravelPlugin(pluginConfig: Required<PluginConfig>): LaravelPlug
232232
}
233233

234234
process.on('exit', clean)
235-
process.on('SIGINT', process.exit)
236-
process.on('SIGTERM', process.exit)
237-
process.on('SIGHUP', process.exit)
235+
process.on('SIGINT', () => process.exit())
236+
process.on('SIGTERM', () => process.exit())
237+
process.on('SIGHUP', () => process.exit())
238238

239239
exitHandlersBound = true
240240
}

0 commit comments

Comments
 (0)