Skip to content

Commit

Permalink
Make rubocop happy
Browse files Browse the repository at this point in the history
  • Loading branch information
adamruzicka committed May 17, 2024
1 parent f892862 commit bc0494f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion examples/execution_plan_chaining.rb
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ def run
end
end

if $0 == __FILE__
if $PROGRAM_NAME == __FILE__
ExampleHelper.world.action_logger.level = 1
ExampleHelper.world.logger.level = 0

Expand Down
2 changes: 2 additions & 0 deletions lib/dynflow/world.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
require 'dynflow/world/invalidation'

module Dynflow
# rubocop:disable Metrics/ClassLength
class World
include Algebrick::TypeCheck
include Algebrick::Matching
Expand Down Expand Up @@ -400,4 +401,5 @@ def spawn_and_wait(klass, name, *args)
return actor
end
end
# rubocop:enable Metrics/ClassLength
end

0 comments on commit bc0494f

Please sign in to comment.