1
0
Fork 0

bin/server.ts: fs.unlink requires two arguments on Node v12

master
Mike Gerwitz 2019-11-12 16:09:46 -05:00
parent 341aeb6a08
commit de94f69e8f
1 changed files with 1 additions and 1 deletions

View File

@ -85,7 +85,7 @@ function writePidFile( pid_path: string ): void
{
fs.writeFileSync( pid_path, process.pid );
process.on( 'exit', () => fs.unlink( pid_path ) );
process.on( 'exit', () => fs.unlink( pid_path, () => {} ) );
}