Skip to content

Commit dc91e2e

Browse files
committed
Fix Rails engine lint
1 parent 17cadc9 commit dc91e2e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/braintrust/contrib/rails/engine.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ def self.eval_service
3838
# Support the explicit `|config|` style used by this integration while
3939
# still delegating zero-arity DSL blocks to Rails' native implementation.
4040
def self.configure(&block)
41-
return super(&block) if block&.arity == 0
41+
return super if block&.arity == 0
4242
yield config if block
4343
end
4444

0 commit comments

Comments
 (0)