utils/github: Appease brew style line length
This commit is contained in:
parent
99d2bb9a53
commit
591afa8ee0
@ -61,7 +61,14 @@ module GitHub
|
|||||||
end
|
end
|
||||||
|
|
||||||
def search_code(repo: nil, user: "Homebrew", path: ["Formula", "Casks", "."], filename: nil, extension: "rb")
|
def search_code(repo: nil, user: "Homebrew", path: ["Formula", "Casks", "."], filename: nil, extension: "rb")
|
||||||
matches = search_results_items("code", user: user, path: path, filename: filename, extension: extension, repo: repo)
|
matches = search_results_items(
|
||||||
|
"code",
|
||||||
|
user: user,
|
||||||
|
path: path,
|
||||||
|
filename: filename,
|
||||||
|
extension: extension,
|
||||||
|
repo: repo,
|
||||||
|
)
|
||||||
return matches if matches.blank?
|
return matches if matches.blank?
|
||||||
|
|
||||||
matches.map do |match|
|
matches.map do |match|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user