fix: #8302, send string to writeFileSync

This commit is contained in:
Barış Soner Uşaklı
2020-05-08 09:26:33 -04:00
parent 7d08184372
commit d09bd2cfdf

View File

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