mirror of
https://github.com/Homebrew/brew.git
synced 2025-07-14 16:09:03 +08:00
livecheck: Clean up whitespace, ordering
This commit is contained in:
parent
a4134125f2
commit
111ac5810c
@ -202,7 +202,6 @@ module Homebrew
|
|||||||
has_a_newer_upstream_version = T.let(false, T::Boolean)
|
has_a_newer_upstream_version = T.let(false, T::Boolean)
|
||||||
|
|
||||||
formulae_and_casks_total = formulae_and_casks_to_check.count
|
formulae_and_casks_total = formulae_and_casks_to_check.count
|
||||||
|
|
||||||
if json && !quiet && $stderr.tty?
|
if json && !quiet && $stderr.tty?
|
||||||
Tty.with($stderr) do |stderr|
|
Tty.with($stderr) do |stderr|
|
||||||
stderr.puts Formatter.headline("Running checks", color: :blue)
|
stderr.puts Formatter.headline("Running checks", color: :blue)
|
||||||
|
@ -31,11 +31,6 @@ RSpec.describe Homebrew::Livecheck::SkipConditions do
|
|||||||
url "https://brew.sh/test-0.0.1.tgz"
|
url "https://brew.sh/test-0.0.1.tgz"
|
||||||
disable! date: "2020-06-25", because: :unmaintained
|
disable! date: "2020-06-25", because: :unmaintained
|
||||||
end,
|
end,
|
||||||
versioned: formula("test@0.0.1") do
|
|
||||||
desc "Versioned test formula"
|
|
||||||
homepage "https://brew.sh"
|
|
||||||
url "https://brew.sh/test-0.0.1.tgz"
|
|
||||||
end,
|
|
||||||
head_only: formula("test_head_only") do
|
head_only: formula("test_head_only") do
|
||||||
desc "HEAD-only test formula"
|
desc "HEAD-only test formula"
|
||||||
homepage "https://brew.sh"
|
homepage "https://brew.sh"
|
||||||
@ -74,6 +69,11 @@ RSpec.describe Homebrew::Livecheck::SkipConditions do
|
|||||||
skip "Not maintained"
|
skip "Not maintained"
|
||||||
end
|
end
|
||||||
end,
|
end,
|
||||||
|
versioned: formula("test@0.0.1") do
|
||||||
|
desc "Versioned test formula"
|
||||||
|
homepage "https://brew.sh"
|
||||||
|
url "https://brew.sh/test-0.0.1.tgz"
|
||||||
|
end,
|
||||||
}
|
}
|
||||||
end
|
end
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user