mirror of
https://github.com/gchq/CyberChef.git
synced 2025-04-21 07: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
|
@ -101,7 +101,7 @@ class Register extends Operation {
|
|||
args = args.map(arg => {
|
||||
if (typeof arg !== "string" && typeof arg !== "object") return arg;
|
||||
|
||||
if (typeof arg === "object" && arg.hasOwnProperty("string")) {
|
||||
if (typeof arg === "object" && Object.prototype.hasOwnProperty.call(arg, "string")) {
|
||||
arg.string = replaceRegister(arg.string);
|
||||
return arg;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue