From 2a3c616787b1f8d441097515b7460b1b5dca8382 Mon Sep 17 00:00:00 2001 From: Evilebot Tnawi Date: Wed, 25 Apr 2018 21:29:59 +0300 Subject: [PATCH] refactor: remove unused `css-import` node (#4375) --- src/language-css/printer-postcss.js | 19 ------------------- 1 file changed, 19 deletions(-) diff --git a/src/language-css/printer-postcss.js b/src/language-css/printer-postcss.js index 180295c4..50818bd5 100644 --- a/src/language-css/printer-postcss.js +++ b/src/language-css/printer-postcss.js @@ -196,25 +196,6 @@ function genericPrint(path, options, print) { : ";" ]); } - case "css-import": { - return concat([ - "@", - maybeToLowerCase(node.name), - " ", - node.directives ? concat([node.directives, " "]) : "", - adjustStrings(node.importPath, options), - node.nodes.length > 0 - ? concat([ - " {", - indent( - concat([softline, printNodeSequence(path, options, print)]) - ), - softline, - "}" - ]) - : ";" - ]); - } // postcss-media-query-parser case "media-query-list": { const parts = [];