From 84bd2dcce73c8398b3cd19f57561d05e94e03301 Mon Sep 17 00:00:00 2001 From: Mark Stacey Date: Mon, 26 Oct 2020 11:01:07 -0230 Subject: [PATCH] Remove unused parameter in styles build script (#9710) The `devMode` parameter being passed to the `buildScss` function was not being used. The `buildScss` function was declared _inside_ the function in which it is invoked, so the `devMode` variable is already in scope - it doesn't need to be passed in. --- development/build/styles.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/development/build/styles.js b/development/build/styles.js index 5a934cf35..4be766673 100644 --- a/development/build/styles.js +++ b/development/build/styles.js @@ -50,7 +50,7 @@ function createStyleTasks ({ livereload }) { livereload.changed(event.path) }) } - await buildScss(devMode) + await buildScss() } async function buildScss () {