Skip to content

Commit 0531d11

Browse files
authored
Merge pull request #56 from BeastyBlacksmith/patch-1
add all test dependencies at once
2 parents 2ef4210 + e28e9e2 commit 0531d11

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/botutils.jl

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -257,9 +257,7 @@ function addtestdep()
257257
end
258258

259259
if !isnothing(test_deps)
260-
for (name, uuid) in test_deps
261-
Pkg.add(Pkg.PackageSpec(name = name, uuid = uuid))
262-
end
260+
Pkg.add([Pkg.PackageSpec(name = name, uuid = uuid) for (name, uuid) in test_deps])
263261
end
264262
end
265263

0 commit comments

Comments
 (0)