Skip to content

Commit fc1e662

Browse files
fix the chained conditionals
1 parent c02f11a commit fc1e662

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,8 +55,7 @@ jobs:
5555
- run: |
5656
julia --project=docs -e '
5757
using Pkg
58-
VERSION >= v"1.5-" && !isdir(joinpath(DEPOT_PATH[1], "registries", "General"))
59-
Pkg.Registry.add("General")
58+
VERSION >= v"1.5-" && !isdir(joinpath(DEPOT_PATH[1], "registries", "General")) && Pkg.Registry.add("General")
6059
Pkg.develop(PackageSpec(path=pwd()))
6160
Pkg.instantiate()'
6261
- run: julia --project=docs docs/make.jl

0 commit comments

Comments
 (0)