Skip to content

Commit

Permalink
refactor: some stuff (prettier#4703)
Browse files Browse the repository at this point in the history
  • Loading branch information
evilebottnawi authored Jun 25, 2018
1 parent f51acf2 commit aa4ea03
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/language-css/parser-postcss.js
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down
2 changes: 1 addition & 1 deletion src/language-css/printer-postcss.js
Original file line number Diff line number Diff line change
Expand Up @@ -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": {
Expand Down

0 comments on commit aa4ea03

Please sign in to comment.