Skip to content
This repository has been archived by the owner on Jul 13, 2023. It is now read-only.

Commit

Permalink
Fix JRuby binary operator warning
Browse files Browse the repository at this point in the history
  • Loading branch information
Jánvári Bálint József committed Nov 29, 2016
1 parent 0188bbf commit 86b3e22
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/paperclip/storage/filesystem.rb
Expand Up @@ -46,7 +46,7 @@ def flush_writes #:nodoc:
end
end
unless @options[:override_file_permissions] == false
resolved_chmod = (@options[:override_file_permissions] &~ 0111) || (0666 &~ File.umask)
resolved_chmod = (@options[:override_file_permissions] & ~0111) || (0666 & ~File.umask)
FileUtils.chmod( resolved_chmod, path(style_name) )
end
file.rewind
Expand Down

0 comments on commit 86b3e22

Please sign in to comment.