mirror of
https://github.com/haml/haml.git
synced 2022-11-09 12:33:31 -05:00
[Sass] Support foo:bar notation outside --update and --watch.
This commit is contained in:
parent
704e5fa2cd
commit
a780fb4782
1 changed files with 8 additions and 0 deletions
|
@ -254,6 +254,14 @@ END
|
|||
# Processes the options set by the command-line arguments,
|
||||
# and runs the Sass compiler appropriately.
|
||||
def process_result
|
||||
if @args.first.include?(':')
|
||||
if @args.size == 1
|
||||
@args = @args.first.split(':', 2)
|
||||
else
|
||||
@options[:update] = true
|
||||
end
|
||||
end
|
||||
|
||||
return interactive if @options[:interactive]
|
||||
return watch_or_update if @options[:watch] || @options[:update]
|
||||
super
|
||||
|
|
Loading…
Add table
Reference in a new issue