From 8cec0fc0c7adcd29818be489da360c5622922c24 Mon Sep 17 00:00:00 2001 From: Remy Sharp Date: Sat, 6 Jan 2018 23:53:59 +0000 Subject: [PATCH] chore: fix linting issue --- lib/monitor/match.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/monitor/match.js b/lib/monitor/match.js index 7b6d7758..603c8fe3 100644 --- a/lib/monitor/match.js +++ b/lib/monitor/match.js @@ -90,7 +90,9 @@ function rulesToMonitor(watch, ignore, config) { rule.slice(-1) === '*' && rule.indexOf('*.') === -1) { - if (rule.slice(-2) !== '**') rule += '*/*'; + if (rule.slice(-2) !== '**') { + rule += '*/*'; + } }