mirror of
https://github.com/clusterio/clusterio.git
synced 2026-11-13 23:14:53 +09:00
Fixed client typo causing crash and tests failing on CI
This commit is contained in:
1 parent
3f8a685f19
commit
618e62de6e
2 files changed
+4
-1
No files matched your search
@@ -747,7 +747,7 @@ function instanceManagement() {
|
||||
if (response && response.body && typeof response.body == "object") {
|
||||
// buffer confirmed orders
|
||||
confirmedOrders[confirmedOrders.length] = {
|
||||
[response.body.name]: response.body.count;
|
||||
[response.body.name]: response.body.count,
|
||||
}
|
||||
if(config.logItemTransfers){
|
||||
console.log(`Imported ${response.body.count} ${response.body.name} from master`);
|
||||
|
||||
@@ -4,6 +4,9 @@ var fs = require('fs');
|
||||
|
||||
// create folders for testing
|
||||
function setupTestingEnv(){
|
||||
if (!fs.existsSync("database")){
|
||||
fs.mkdirSync("database");
|
||||
}
|
||||
if (!fs.existsSync("lib/test")){
|
||||
fs.mkdirSync("lib/test");
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user