refactor: some stuff (#4703)
This commit is contained in:
1 parent
f51acf22fe
commit
aa4ea034b3
2 files changed
+2
-2
No files matched your search
@@ -347,7 +347,7 @@ function parseNestedCSS(node) {
|
||||
return node;
|
||||
}
|
||||
|
||||
if (node.type !== "css-comment-yaml" && value.length > 0) {
|
||||
if (value.length > 0) {
|
||||
const defaultSCSSDirectiveIndex = value.match(DEFAULT_SCSS_DIRECTIVE);
|
||||
|
||||
if (defaultSCSSDirectiveIndex) {
|
||||
|
||||
@@ -377,7 +377,7 @@ function genericPrint(path, options, print) {
|
||||
node.namespace
|
||||
? concat([node.namespace === true ? "" : node.namespace.trim(), "|"])
|
||||
: "",
|
||||
adjustNumbers(node.value)
|
||||
node.value
|
||||
]);
|
||||
}
|
||||
case "selector-pseudo": {
|
||||
|
||||
Reference in new issue
Block a user