Skip to content

Commit

Permalink
Merge pull request #542 from Homebrew/fix-nilable-dimension
Browse files Browse the repository at this point in the history
  • Loading branch information
MikeMcQuaid authored Jan 9, 2025
2 parents 86bee01 + 6dec056 commit 355d7e7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/formula-analytics.rb
Original file line number Diff line number Diff line change
Expand Up @@ -371,7 +371,7 @@ def format_percent(percent)
format("%<percent>.2f", percent:).gsub(/\.00$/, "")
end

sig { params(dimension: String).returns(T.nilable(String)) }
sig { params(dimension: T.nilable(String)).returns(T.nilable(String)) }
def format_os_version_dimension(dimension)
return if dimension.blank?

Expand Down

0 comments on commit 355d7e7

Please sign in to comment.