mirror of
https://github.com/clusterio/clusterio.git
synced 2026-11-26 00:33:12 +09:00
inventory reports, work on #50
This commit is contained in:
1 parent
a0facf9ea8
commit
103f01b6a2
4 files changed
+93
No files matched your search
@@ -0,0 +1,9 @@
|
||||
module.exports = function(x){
|
||||
var isNotJson = false
|
||||
try{
|
||||
z = JSON.parse(x);
|
||||
} catch (e) {
|
||||
isNotJson = true;
|
||||
}
|
||||
return !isNotJson;
|
||||
}
|
||||
Reference in new issue
Block a user