fix: #8302, send string to writeFileSync

v1.18.x
Barış Soner Uşaklı 5 years ago
parent 7d08184372
commit d09bd2cfdf

@ -231,7 +231,7 @@ fs.open(pathToConfig, 'r', function (err) {
cwd: process.cwd(), cwd: process.cwd(),
}); });
fs.writeFileSync(pidFilePath, process.pid); fs.writeFileSync(pidFilePath, String(process.pid));
} }
async.series([ async.series([

Loading…
Cancel
Save