Skip to content

Commit

Permalink
Fix spelling of "cannot"
Browse files Browse the repository at this point in the history
  • Loading branch information
deivid-rodriguez committed Sep 17, 2024
1 parent 33b9682 commit 31952a9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/thor/actions/file_manipulation.rb
Original file line number Diff line number Diff line change
Expand Up @@ -348,7 +348,7 @@ def capture(*args)
end

def with_output_buffer(buf = "".dup) #:nodoc:
raise ArgumentError, "Buffer can not be a frozen object" if buf.frozen?
raise ArgumentError, "Buffer cannot be a frozen object" if buf.frozen?
old_buffer = output_buffer
self.output_buffer = buf
yield
Expand Down

0 comments on commit 31952a9

Please sign in to comment.