From d7af1e3527073740cafbd57d1d645918a35749f0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kristj=C3=A1n=20Oddsson?= Date: Fri, 31 Jan 2025 20:20:00 +0100 Subject: [PATCH] add missing `}` --- Library/Homebrew/rubocops/disable_comment.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Library/Homebrew/rubocops/disable_comment.rb b/Library/Homebrew/rubocops/disable_comment.rb index 5c354f738e..9752e28535 100644 --- a/Library/Homebrew/rubocops/disable_comment.rb +++ b/Library/Homebrew/rubocops/disable_comment.rb @@ -21,12 +21,12 @@ module RuboCop private - sig { params(comment: Parser::Source::Comment).returns(T::Boolean) + sig { params(comment: Parser::Source::Comment).returns(T::Boolean) } def disable_comment?(comment) comment.text.start_with? "# rubocop:disable" end -sig { params(line: String).returns(T::Boolean) } + sig { params(line: String).returns(T::Boolean) } def comment?(line) line.strip.start_with? "#" end