Skip to content

Commit

Permalink
fix(format): minor css format output fix (#323)
Browse files Browse the repository at this point in the history
fixes #322
  • Loading branch information
drwaky authored and chazzmoney committed Sep 5, 2019
1 parent 998198a commit adb94e1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion __tests__/formats/__snapshots__/all.test.js.snap
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ exports[`formats all should match css/variables snapshot 1`] = `
*/
:root {
--color_red: #FF0000; /* comment */
--color_red: #FF0000; /* comment */
}
"
`;
Expand Down
2 changes: 1 addition & 1 deletion lib/common/formats.js
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ module.exports = {
'css/variables': function(dictionary) {
return fileHeader(this.options) +
':root {\n' +
variablesWithPrefix(' --', dictionary.allProperties) +
variablesWithPrefix(' --', dictionary.allProperties) +
'\n}\n';
},

Expand Down

0 comments on commit adb94e1

Please sign in to comment.