Skip to content

Commit

Permalink
Ignore HTTP::Server::Response patching for crystal >= 1.3.0
Browse files Browse the repository at this point in the history
Closes #627
  • Loading branch information
SamantazFox authored and sdogruyol committed Feb 22, 2022
1 parent 5e2efec commit 3d2d30d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/kemal/ext/response.cr
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# This override collides with the new stdlib of Crystal 1.3
# See https://github.com/kemalcr/kemal/issues/627 for more details
{{ skip_file if compare_versions(Crystal::VERSION, "1.3.0") >= 0 }}

class HTTP::Server::Response
class Output
def close
Expand Down

0 comments on commit 3d2d30d

Please sign in to comment.