Skip to content

Commit

Permalink
Fix violations and obsolete config
Browse files Browse the repository at this point in the history
  • Loading branch information
Tabby committed Jun 14, 2024
1 parent 04d989f commit bbd2ec9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .rubocop_todo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ RSpec/ExpectInHook:
# Offense count: 1
# Configuration parameters: Include, CustomTransform, IgnoreMethods, SpecSuffixOnly.
# Include: **/*_spec*rb*, **/spec/**/*
RSpec/FilePath:
RSpec/SpecFilePathFormat:
Exclude:
- 'spec/statesman/exceptions_spec.rb'

Expand Down
2 changes: 1 addition & 1 deletion lib/statesman/guard.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
module Statesman
class Guard < Callback
def call(*args)
raise GuardFailedError.new(from, to, callback) unless super(*args)
raise GuardFailedError.new(from, to, callback) unless super
end
end
end

0 comments on commit bbd2ec9

Please sign in to comment.