Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sass: Spaces at EOF throw error #20

Closed
tonyganch opened this issue Jul 18, 2014 · 1 comment
Closed

Sass: Spaces at EOF throw error #20

tonyganch opened this issue Jul 18, 2014 · 1 comment

Comments

@tonyganch
Copy link
Owner

From csscomb/csscomb.js#243

combing (without any config file):

body
  background-color: red
  color: white
  float: left
  width: 100%
  padding: 4em

(on the last line are only two spaces.)

throws:

stack:  Error: Parsing error at test/_test-partial1.sass: Cannot read property 'type' of undefined
    at cssToAST (/usr/local/lib/node_modules/csscomb/lib/csscomb.js:464:19)
    at processString (/usr/local/lib/node_modules/csscomb/lib/csscomb.js:351:20)
    at /usr/local/lib/node_modules/csscomb/lib/csscomb.js:323:39
    at Array.0 (/usr/local/lib/node_modules/csscomb/node_modules/vow/lib/vow.js:555:56)
    at Object.callFns [as _onImmediate] (/usr/local/lib/node_modules/csscomb/node_modules/vow/lib/vow.js:1148:35)
    at processImmediate [as _immediateCallback] (timers.js:336:15)

@tonyganch
Copy link
Owner Author

Fixed in dev

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant