lib/guard/shopify.rb in guard-shopify-0.0.3 vs lib/guard/shopify.rb in guard-shopify-0.0.4

- old
+ new

@@ -67,10 +67,10 @@ rescue Exception => e puts "Error retrieving remote asset matching #{p}; nothing uploaded." puts e.message end - if File.binary?(p) && remote_asset + if (File.binary?(p) || File.image?(p)) && remote_asset upload_binary_asset(p, remote_asset) elsif remote_asset upload_text_asset(p, remote_asset) end end