Skip to content

Commit

Permalink
format
Browse files Browse the repository at this point in the history
  • Loading branch information
t-bltg committed Apr 7, 2024
1 parent 27b9d37 commit 8713d25
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions ci/downstream.jl
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ TOML = Pkg.TOML

failsafe_clone_checkout(path, url) = begin
local repo
for i 1:6
for i in 1:6
try
repo = Pkg.GitTools.ensure_clone(stdout, path, url)
break
Expand Down Expand Up @@ -37,7 +37,8 @@ end
fake_supported_version!(path) = begin
toml = joinpath(path, "Project.toml")
# fake the supported Plots version for testing (for `Pkg.develop`)
Plots_version = Pkg.Types.read_package(normpath(@__DIR__, ".." "Project.toml")).version
Plots_version =
Pkg.Types.read_package(normpath(@__DIR__, "..""Project.toml")).version
parsed_toml = TOML.parse(read(toml, String))
parsed_toml["compat"]["Plots"] = string(Plots_version)
open(toml, "w") do io
Expand All @@ -50,7 +51,7 @@ test_stable(pkg::String) = begin
Pkg.activate(tempdir())
tmpd = mktempdir()

for dn ("RecipesBase", "RecipesPipeline", "PlotsBase", "")
for dn in ("RecipesBase", "RecipesPipeline", "PlotsBase", "")
Pkg.develop(; path = joinpath(@__DIR__, "..", dn))
end

Expand Down

0 comments on commit 8713d25

Please sign in to comment.