We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d87cb4a commit f78f075Copy full SHA for f78f075
spec/spec_helper.rb
@@ -78,7 +78,7 @@ module CapabilityCheckHelpers
78
def any_file_modes_allowed?
79
Tempfile.open 'posix' do |f|
80
File.chmod(0, f.path)
81
- (File.stat(f.path).mode & 0o777).zero?
+ return (File.stat(f.path).mode & 0o777).zero?
82
end
83
84
0 commit comments