gruntjs / grunt-contrib-sass

Compile Sass to CSS.
http://gruntjs.com/
MIT License
848 stars 141 forks source link

OptionParser::InvalidOption: invalid option: --no-debug-info since 0.9.0 #185

Closed sven-sprd closed 9 years ago

sven-sprd commented 9 years ago

Since upgrade from 0.8.1 to 0.9.0 I get the following error:

OptionParser::InvalidOption: invalid option: --no-debug-info

Snippet from gruntfile.js

        ...
        sass: {
            dist: {
                options: {
                    debugInfo: false
                },
                files: {
                    'styles.css': 'styles.scss'
                }
            },
        },
        ...

Setting debugInfo to true works fine.

sindresorhus commented 9 years ago

Sorry about that. Forgot how strict the Sass argument parser is.