Linted to satisfy new rules

This commit is contained in:
n1474335 2019-07-05 12:36:15 +01:00
parent e4e32a9c56
commit b272d3b32f
5 changed files with 16 additions and 15 deletions

View file

@ -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;