mirror of
https://github.com/gchq/CyberChef.git
synced 2025-04-22 07:46:16 -04:00
Linted to satisfy new rules
This commit is contained in:
parent
e4e32a9c56
commit
b272d3b32f
5 changed files with 16 additions and 15 deletions
|
@ -178,7 +178,7 @@ class WorkerWaiter {
|
|||
let inputNum = 0;
|
||||
log.debug(`Receiving ${r.action} from ChefWorker.`);
|
||||
|
||||
if (r.data.hasOwnProperty("inputNum")) {
|
||||
if ("inputNum" in r.data) {
|
||||
inputNum = r.data.inputNum;
|
||||
}
|
||||
|
||||
|
@ -440,7 +440,7 @@ class WorkerWaiter {
|
|||
// Remove all breakpoints from the recipe up to progress
|
||||
if (nextInput.progress !== false) {
|
||||
for (let i = 0; i < nextInput.progress; i++) {
|
||||
if (recipeConfig[i].hasOwnProperty("breakpoint")) {
|
||||
if ("breakpoint" in recipeConfig[i]) {
|
||||
delete recipeConfig[i].breakpoint;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue