Can't pass nil as options to sass method in Assetsfile

This commit is contained in:
Piotr Sarnacki 2013-01-19 01:23:58 +01:00
parent 8aade9e2ba
commit fa0ae8065a

View File

@ -71,7 +71,7 @@ end
output 'public/styles'
input assets.styles do
match '**/*.{scss,sass}' do
sass assets.production? ? { style: :compressed } : nil
sass assets.production? ? { style: :compressed } : {}
concat [], ['app.css']
end
end