mirror of
https://github.com/gchq/CyberChef.git
synced 2025-04-23 08:16:17 -04:00
Updated dependencies and linter
This commit is contained in:
parent
4f70a79638
commit
5eb3979504
23 changed files with 383 additions and 263 deletions
|
@ -45,11 +45,11 @@ for (const opObj in Ops) {
|
|||
args: op.args
|
||||
};
|
||||
|
||||
if (op.hasOwnProperty("patterns")) {
|
||||
if ("patterns" in op) {
|
||||
operationConfig[op.name].patterns = op.patterns;
|
||||
}
|
||||
|
||||
if (!modules.hasOwnProperty(op.module))
|
||||
if (!(op.module in modules))
|
||||
modules[op.module] = {};
|
||||
modules[op.module][op.name] = opObj;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue