lib/pdd/sources.rb in pdd-0.17.8 vs lib/pdd/sources.rb in pdd-0.17.9
- old
+ new
@@ -61,9 +61,10 @@
end
private
def binary?(f)
+ return false if Gem.win_platform?
`grep -qI '.' #{Shellwords.escape(f)}`
if $CHILD_STATUS.success?
false
else
PDD.log.info "#{f} is a binary file (#{File.size(f)} bytes)"