lib/sass/exec/sass_convert.rb in sass-3.4.4 vs lib/sass/exec/sass_convert.rb in sass-3.4.5
- old
+ new
@@ -160,11 +160,11 @@
@options[:trace] = true
end
end
def process_directory
- unless (input = @options[:input] = @args.shift)
+ unless @options[:input] = @args.shift
raise "Error: directory required when using --recursive."
end
output = @options[:output] = @args.shift
raise "Error: --from required when using --recursive." unless @options[:from]
@@ -205,10 +205,10 @@
puts_action :overwrite, :yellow, output
else
puts_action :create, :green, output
end
- process_file(input, output)
+ process_file(f, output)
end
end
def process_file(input, output)
input_path, output_path = path_for(input), path_for(output)