mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-19 17:38:19 +08:00
core: better blacklist
This commit is contained in:
1 parent
42f920d25c
commit
0676cc0a27
9 files changed
+21
-90
No files matched your search
@@ -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);
|
||||
|
||||
Reference in new issue
Block a user