mirror of
https://github.com/haml/haml.git
synced 2022-11-09 12:33:31 -05:00
[Sass] [sass-convert] Fix a few more syntax-setting bugs.
This commit is contained in:
parent
b97bde7a62
commit
b2d35243f5
1 changed files with 1 additions and 1 deletions
|
@ -569,7 +569,6 @@ END
|
|||
'By default, this is inferred from the output filename.',
|
||||
'If there is none, defaults to sass.') do |name|
|
||||
@options[:to] = name.downcase.to_sym
|
||||
@options[:for_engine][:syntax] = @options[:to]
|
||||
end
|
||||
|
||||
opts.on('--old', 'Output the old-style ":prop val" property syntax.',
|
||||
|
@ -611,6 +610,7 @@ END
|
|||
|
||||
@options[:from] ||= :css
|
||||
@options[:to] ||= :sass
|
||||
@options[:for_engine][:syntax] = @options[:from]
|
||||
|
||||
out =
|
||||
if @options[:from] == :css
|
||||
|
|
Loading…
Add table
Reference in a new issue