From 7072f04ed5bfbbc2a3b5161727d1a71d58e3c2e6 Mon Sep 17 00:00:00 2001 From: Dannon Baker Date: Thu, 4 Apr 2019 11:08:11 -0400 Subject: [PATCH] Clarify scss rule 'fixing' --- client/styleguide.config.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/client/styleguide.config.js b/client/styleguide.config.js index 8694c07b81a..135e4a5cb55 100644 --- a/client/styleguide.config.js +++ b/client/styleguide.config.js @@ -5,8 +5,8 @@ let webpackConfig = require("./webpack.config.js"); // Clear existing .scss rule(s) out of webpack config, we need special handling // here. -webpackConfig.module.rules = webpackConfig.module.rules.filter(value => { - return value.test.toString() != /\.scss$/.toString(); +webpackConfig.module.rules = webpackConfig.module.rules.filter(rule => { + return rule.test.toString() != /\.scss$/.toString(); }); webpackConfig.module.rules.push({