Skip to content

Commit

Permalink
Merge pull request #18043 from Homebrew/io-typed-strict
Browse files Browse the repository at this point in the history
  • Loading branch information
p-linnane committed Aug 13, 2024
2 parents 79d887a + 9b33210 commit d0d18a3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Library/Homebrew/extend/io.rb
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
# typed: true # rubocop:todo Sorbet/StrictSigil
# typed: strict
# frozen_string_literal: true

class IO
sig { params(sep: String).returns(String) }
def readline_nonblock(sep = $INPUT_RECORD_SEPARATOR)
line = +""
buffer = +""
Expand Down

0 comments on commit d0d18a3

Please sign in to comment.