From 6b4bb762aa830b19e69b6160ec57169d73484cf2 Mon Sep 17 00:00:00 2001 From: RMidhunSuresh Date: Fri, 25 Mar 2022 11:40:35 +0530 Subject: [PATCH] Remove unused variable --- scripts/postcss/css-url-to-variables.js | 2 -- 1 file changed, 2 deletions(-) diff --git a/scripts/postcss/css-url-to-variables.js b/scripts/postcss/css-url-to-variables.js index 07d524c9..79814cb2 100644 --- a/scripts/postcss/css-url-to-variables.js +++ b/scripts/postcss/css-url-to-variables.js @@ -26,7 +26,6 @@ const idToPrepend = "icon-url"; function extractUrl(decl) { const value = decl.value; const parsed = valueParser(value); - const variables = []; parsed.walk(node => { if (node.type !== "function" || node.value !== "url") { return; @@ -43,7 +42,6 @@ function extractUrl(decl) { node.nodes[0] = varNode; }); decl.assign({prop: decl.prop, value: parsed.toString()}) - return variables; } function addResolvedVariablesToRootSelector(root, { Rule, Declaration }) {