Skip to content

Commit 9a3bac4

Browse files
authored
Merge pull request #245 from humanmade/fix-signal-exit-signature
Import onExit from named export in signal-exit
2 parents c7fddfd + 7acad52 commit 9a3bac4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/helpers/clean-on-exit.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
const { unlinkSync } = require( 'fs' );
2-
const onExit = require( 'signal-exit' );
2+
const { onExit } = require( 'signal-exit' );
33

44
/**
55
* Register an onExit handler to remove one or more files when the server exits.

0 commit comments

Comments
 (0)