mirror of
https://github.com/clusterio/clusterio.git
synced 2026-11-14 15:24:52 +09:00
Maintain nodejs v12 support
This commit is contained in:
1 parent
1a1b4fb0d2
commit
29917fb85a
1 file changed
+2
-2
@@ -70,8 +70,8 @@ class MasterPlugin extends libPlugin.BaseMasterPlugin {
|
||||
database_size: inventories.map(x => x.length).reduce((a, b) => b - a, 0),
|
||||
database_entries: inventories.length,
|
||||
largest_entry: {
|
||||
name: inventories[0]?.name || "-",
|
||||
size: inventories[0]?.length || 0,
|
||||
name: inventories[0] && inventories[0].name || "-",
|
||||
size: inventories[0] && inventories[0].length || 0,
|
||||
},
|
||||
};
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user