You're missing a dash. --scss is what is needed. (the single dash version doesn't give and error because -s and -c are both valid switches and providing a switch more than once is technically legal.)
Chris On Mon, Jan 3, 2011 at 2:11 PM, Eric Anderson <[email protected]> wrote: > What am I missing? > > $ sass -v > Haml/Sass 3.0.25 (Classy Cassidy) > > $ cat test.scss > .foo { > width: 1+2px > } > > $ sass test.scss > .foo { > width: 3px; } > > $ cat test.scss | sass -scss > WARNING on line 3: > This selector doesn't have any properties and will not be rendered. > Syntax error: Invalid CSS after ".foo ": expected selector, was "{" > on line 1 of standard input > Use --trace for backtrace. > > It is obviously reading the file since it refer to "foo". But it > doesn't seem to be able to parse the code even though it is the exact > same file as it just parsed when not reading from stdin. Am I missing > something? > > -- > You received this message because you are subscribed to the Google Groups > "Haml" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected] <haml%[email protected]>. > For more options, visit this group at > http://groups.google.com/group/haml?hl=en. > > -- You received this message because you are subscribed to the Google Groups "Haml" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/haml?hl=en.
