Node.js based forum software built for the modern web
fix: #8302, send string to writeFileSync
Barış Soner Uşaklıd09bd2cfdf80
diff --git a/loader.js b/loader.jsindex 6320c6ab6a..eea0bf9c8a 100644--- a/loader.js+++ b/loader.js@@ -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([