mirror of
https://github.com/clusterio/clusterio.git
synced 2026-11-13 23:14:53 +09:00
Suppressed error
This commit is contained in:
1 parent
0e10e2ebfa
commit
2278176608
1 file changed
+1
-1
@@ -354,7 +354,7 @@ function instanceManagement() {
|
||||
if(fs.existsSync(instancedirectory + "/script-output/tempfile.txt")) {
|
||||
var data = fs.readFileSync(instancedirectory + "/script-output/tempfile.txt", "utf8").split("\n");
|
||||
// delete when we are done
|
||||
fs.unlink(instancedirectory + "/script-output/tempfile.txt");
|
||||
fs.unlink(instancedirectory + "/script-output/tempfile.txt", function(){});
|
||||
}
|
||||
// if we actually got anything from the file, proceed to categorize it
|
||||
if (data && data[0]) {
|
||||
|
||||
Reference in new issue
Block a user