Skip to content

Commit 4375b52

Browse files
Fix spelling of "cannot" (#885)
1 parent 33b9682 commit 4375b52

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/thor/actions/file_manipulation.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -348,7 +348,7 @@ def capture(*args)
348348
end
349349

350350
def with_output_buffer(buf = "".dup) #:nodoc:
351-
raise ArgumentError, "Buffer can not be a frozen object" if buf.frozen?
351+
raise ArgumentError, "Buffer cannot be a frozen object" if buf.frozen?
352352
old_buffer = output_buffer
353353
self.output_buffer = buf
354354
yield

0 commit comments

Comments
 (0)