Skip to content

Commit

Permalink
Removed use of ensure: (do not recall why I did it that way, but it…
Browse files Browse the repository at this point in the history
… does not seem necessary)
  • Loading branch information
Johan Brichau committed Mar 19, 2024
1 parent 3659170 commit df0dc34
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
*Seaside-Zinc-Core
streamUploads: aBoolean

^ [ self optionAt: #streamUploads put: aBoolean ]
ensure: [ self delegate adaptor configureServerForBinaryReading ]
| result |
result := self optionAt: #streamUploads put: aBoolean.
self delegate adaptor configureServerForBinaryReading.
^ result

0 comments on commit df0dc34

Please sign in to comment.