Skip to content

Commit

Permalink
Improve condition semantics
Browse files Browse the repository at this point in the history
  • Loading branch information
vassilevsky committed Aug 27, 2015
1 parent a793177 commit 41d6245
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/face_control/checkers/_example.rb
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ def parse(command_output)
mode = fields.first
file = fields.last

if mode != '-rwxr-xr-x'
unless mode == '-rwxr-xr-x'
Comment.new(file: file, line: 1, text: 'Invalid file mode')
end
end
Expand Down

0 comments on commit 41d6245

Please sign in to comment.