Skip to content

Commit

Permalink
fix style
Browse files Browse the repository at this point in the history
  • Loading branch information
Aaron-212 committed May 26, 2024
1 parent 2fcbff8 commit 7da9ea0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Library/Homebrew/cask/audit.rb
Original file line number Diff line number Diff line change
Expand Up @@ -895,7 +895,7 @@ def bad_sourceforge_url?

sig { returns(T::Boolean) }
def bad_osdn_url?
cask.url.to_s.match?(/^(?:https?:\/\/)?(?:\w+\.)*osdn\.jp(?=\/|$)/)
cask.url.to_s.match?(%r{^(?:https?://)?(?:\w+\.)*osdn\.jp(?=/|$)})
end

# sig { returns(String) }
Expand Down

0 comments on commit 7da9ea0

Please sign in to comment.