Skip to content

Commit 5680029

Browse files
committed
dev-cmd: fix Sorbet type error for args.output_db
1 parent fc1087a commit 5680029

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Library/Homebrew/dev-cmd/which-entry.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ class WhichEntry < AbstractCommand
2020

2121
sig { override.void }
2222
def run
23-
db_path = Pathname(args.output_db) if args.output_db
23+
db_path = Pathname(T.must(args.output_db)) if args.output_db
2424
args.named.each { |name| process(name, db_path:) }
2525
end
2626

0 commit comments

Comments
 (0)