mirror of
https://github.com/gchq/CyberChef.git
synced 2025-04-21 15:26: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
|
@ -651,12 +651,12 @@ class OutputWaiter {
|
|||
*/
|
||||
handleZipWorkerMessage(e) {
|
||||
const r = e.data;
|
||||
if (!r.hasOwnProperty("zippedFile")) {
|
||||
if (!("zippedFile" in r)) {
|
||||
log.error("No zipped file was sent in the message.");
|
||||
this.terminateZipWorker();
|
||||
return;
|
||||
}
|
||||
if (!r.hasOwnProperty("filename")) {
|
||||
if (!("filename" in r)) {
|
||||
log.error("No filename was sent in the message.");
|
||||
this.terminateZipWorker();
|
||||
return;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue