Skip to content

Commit

Permalink
tap: adjust font cask path
Browse files Browse the repository at this point in the history
Signed-off-by: Patrick Linnane <patrick@linnane.io>
  • Loading branch information
p-linnane committed May 12, 2024
1 parent 1e4d119 commit 50b65aa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Library/Homebrew/tap.rb
Original file line number Diff line number Diff line change
Expand Up @@ -1404,7 +1404,7 @@ def new_cask_path(token)
sig { params(token: String).returns(Pathname) }
def new_cask_font_path(token)
font_first_letter = T.must(token.split("font-").second)[0].to_s
cask_subdir = "fonts/font-#{font_first_letter}"
cask_subdir = "font/font-#{font_first_letter}"

Check warning on line 1407 in Library/Homebrew/tap.rb

View check run for this annotation

Codecov / codecov/patch

Library/Homebrew/tap.rb#L1407

Added line #L1407 was not covered by tests
cask_dir/cask_subdir/"#{token.downcase}.rb"
end

Expand Down

0 comments on commit 50b65aa

Please sign in to comment.