forked from mirror/MCSManager
修复 Node10 WriteFile 强制需求回调
This commit is contained in:
parent
8de0e6329a
commit
de78ad2de1
@ -22,7 +22,7 @@ module.exports.createServerDir = (serverName, cwd) => {
|
||||
fs.mkdirSync(cwd);
|
||||
}
|
||||
//EULA.txt 写入
|
||||
fs.writeFile(cwd + '/eula.txt', 'eula=true');
|
||||
fs.writeFile(cwd + '/eula.txt', 'eula=true', () => { });
|
||||
}
|
||||
|
||||
module.exports.createServer = (serverName, config) => {
|
||||
|
Loading…
Reference in New Issue
Block a user