core: better blacklist

This commit is contained in:
undefined committed 2021-08-20 17:47:39 +08:00
1 parent 42f920d25c
commit 0676cc0a27
9 files changed
+21 -90

No files matched your search

+2
View File
@@ -71,6 +71,8 @@ async function cli() {
args[i] = new ObjectID(args[i]);
} else if ((+args[i]).toString() === args[i]) {
args[i] = +args[i];
} else if (args[i].startsWith('~')) {
args[i] = argv.options[args[i].substr(1)];
}
}
let result = global.Hydro.model[modelName][func](...args);