lib/middleman-webp/converter.rb in middleman-webp-0.4.0 vs lib/middleman-webp/converter.rb in middleman-webp-0.4.1
- old
+ new
@@ -42,10 +42,10 @@
end
end
def exec_convert_tool(src, dst)
cmd = "#{tool_for(src)} #{@options.for(src)} -quiet #{src} -o #{dst}"
- @builder.run(cmd, verbose: @options.verbose, capture: true)
+ @builder.thor.run(cmd, verbose: @options.verbose, capture: true)
end
# Internal: Return proper tool command based on file type
#
# file - Filename