refactor: some stuff (#4703)
parent
f51acf22fe
commit
aa4ea034b3
|
@ -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": {
|
||||
|
|
Loading…
Reference in New Issue