Skip to content

Commit 1d13b2d

Browse files
committed
Format code
1 parent c91b1b7 commit 1d13b2d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/openapi_first/configuration.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ def initialize
1414
@request_validation_error_response = OpenapiFirst.find_error_response(:default)
1515
@request_validation_raise_error = false
1616
@response_validation_raise_error = true
17-
@hooks = (HOOKS.map { [_1, Set.new] }).to_h
17+
@hooks = HOOKS.to_h { [_1, Set.new] }
1818
@path = nil
1919
end
2020

0 commit comments

Comments
 (0)