From 02d075e342c1f9e3467e4cccae03ca2c53aac263 Mon Sep 17 00:00:00 2001 From: Blade Barringer Date: Mon, 23 May 2016 22:41:37 -0500 Subject: [PATCH] lint: Ignore === for == null check in sort task --- common/script/ops/sortTask.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/script/ops/sortTask.js b/common/script/ops/sortTask.js index 9a50abbe46..07db8289cf 100644 --- a/common/script/ops/sortTask.js +++ b/common/script/ops/sortTask.js @@ -21,7 +21,7 @@ module.exports = function sortTask (user, req = {}) { if (index === -1) { throw new NotFound(i18n.t('messageTaskNotFound', req.language)); } - if (to == null && fromParam == null) { + if (to == null && fromParam == null) { // eslint-disable-line eqeqeq throw new BadRequest('?to=__&from=__ are required'); }