refactor: some stuff (#4703)

master
Evilebot Tnawi 2018-06-25 12:57:41 +03:00 committed by GitHub
parent f51acf22fe
commit aa4ea034b3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

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) {

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": {