debrew: set typed: strict

This commit is contained in:
Mike McQuaid 2025-06-17 16:33:58 +01:00
parent 09eaf1495a
commit 85c5f8f3a5
No known key found for this signature in database

View File

@ -1,13 +1,15 @@
# typed: true # rubocop:todo Sorbet/StrictSigil
# typed: strict
# frozen_string_literal: true
require "irb"
module IRB
sig { params(binding: Binding).void }
def self.start_within(binding)
old_stdout_sync = $stdout.sync
$stdout.sync = true
@setup_done ||= T.let(false, T.nilable(T::Boolean))
unless @setup_done
setup(nil, argv: [])
@setup_done = true