mirror of
https://github.com/gchq/CyberChef.git
synced 2025-05-11 16:51:31 -04:00
Removed unnecessary variables
This commit is contained in:
parent
208e9d98e1
commit
671366ee62
1 changed files with 0 additions and 6 deletions
|
@ -13,14 +13,10 @@ class potentialOps {
|
|||
constructor (prevOp) {
|
||||
if (typeof prevOp === "undefined") {
|
||||
this.inputRegexes = this.generateInputOpPatterns();
|
||||
this.hasInputRegexes = true;
|
||||
this.outputRegexes = this.generateOutputOpPatterns();
|
||||
this.hasOutputRegexes = true;
|
||||
} else {
|
||||
this.inputRegexes = prevOp.getInputRegexes();
|
||||
this.hasInputRegexes = true;
|
||||
this.outputRegexes = prevOp.getOutputRegexes();
|
||||
this.hasOutputRegexes = true;
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -31,7 +27,6 @@ class potentialOps {
|
|||
*/
|
||||
setOutputRegexes (outputRegexes) {
|
||||
this.outputRegexes = [...outputRegexes];
|
||||
this.hasOutputRegexes = true;
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -41,7 +36,6 @@ class potentialOps {
|
|||
*/
|
||||
setInputRegexes (inputRegexes) {
|
||||
this.inputRegexes = [...inputRegexes];
|
||||
this.hasInputRegexes = true;
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue