From a84144977109cb40f3879e7042c9dab231ddc430 Mon Sep 17 00:00:00 2001 From: Baptiste Augrain Date: Tue, 9 Oct 2018 10:10:20 +0200 Subject: [PATCH] fix lint error --- gruntfile.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/gruntfile.js b/gruntfile.js index a3e16f1a..651640fc 100644 --- a/gruntfile.js +++ b/gruntfile.js @@ -302,8 +302,7 @@ module.exports = function (grunt) { rules[0].declarations.forEach(declaration => { if (declaration.property === 'background-color' || declaration.property === 'background') { bgColor = Color(declaration.value.split(' ')[0]) - } - else if (declaration.property === 'color') { + } else if (declaration.property === 'color') { const value = /^(.*?)(?:\s*!important)?$/.exec(declaration.value)[1] let match = /^rgba\((.*?),\s*1\)$/.exec(value) if (match) {