You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fix inefficient assert pattern in Rack::Lint (rack#1724)
* Use `raise "message" unless condition` instead of assert in Rack::Lint
* The existing #assert is very inefficient because it computes the error
message string even if no error is raised.
* Fixesrack#1723
* Deprecate Rack::Lint::Assertion#assert
* No need to include the Assertion module anymore in lint.rb
0 commit comments