Skip to content

Commit

Permalink
Fix spelling of "cannot" (#885)
Browse files Browse the repository at this point in the history
  • Loading branch information
deivid-rodriguez committed Sep 17, 2024
1 parent 33b9682 commit 4375b52
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 4375b52

Please sign in to comment.