refactor: some stuff (#4703)

This commit is contained in:
Evilebot Tnawi authored and GitHub committed 2018-06-25 12:57:41 +03:00
1 parent f51acf22fe
commit aa4ea034b3
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -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) {
+1 -1
View File
@@ -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": {