mirror of
https://github.com/gchq/CyberChef.git
synced 2025-05-10 16:25:01 -04:00
Linting
This commit is contained in:
parent
2ac3ec2a7c
commit
87448a16db
2 changed files with 3 additions and 3 deletions
|
@ -284,7 +284,7 @@ class Magic {
|
|||
const outputRegexes = OperationConfig[op.op].outputRegexes;
|
||||
switch (flag) {
|
||||
case "Input":
|
||||
if (outputRegexes) {
|
||||
if (outputRegexes) {
|
||||
if (_buffersEqual(output, this.inputBuffer))
|
||||
return;
|
||||
for (const pattern of outputRegexes)
|
||||
|
|
|
@ -87,7 +87,7 @@ class potentialOps {
|
|||
for (const op in OperationConfig) {
|
||||
if (("inputRegexes" in OperationConfig[op]) && !!(OperationConfig[op].inputRegexes))
|
||||
OperationConfig[op].inputRegexes.forEach(pattern => {
|
||||
if(pattern.magic)
|
||||
if (pattern.magic)
|
||||
opPatterns.push({
|
||||
op: op,
|
||||
match: pattern.match,
|
||||
|
@ -111,7 +111,7 @@ class potentialOps {
|
|||
for (const op in OperationConfig) {
|
||||
if ((OperationConfig[op].outputRegexes) && !(OperationConfig[op].inputRegexes))
|
||||
OperationConfig[op].outputRegexes.forEach(pattern => {
|
||||
if(pattern.magic)
|
||||
if (pattern.magic)
|
||||
opPatterns.push({
|
||||
op: op,
|
||||
match: pattern.match,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue