Skip to content

Commit

Permalink
fix bugs in calling printpkgstyle
Browse files Browse the repository at this point in the history
  • Loading branch information
KristofferC committed May 23, 2018
1 parent 263d82d commit 41f2046
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion stdlib/Pkg/src/API.jl
Original file line number Diff line number Diff line change
Expand Up @@ -462,7 +462,7 @@ function precompile(ctx::Context)
append!(Base.LOAD_PATH, $(repr(Base.LOAD_PATH)))
import $pkg
"""
printpkgstyle(ctx, :Precompiling, pkg, " [$i of $(length(needs_to_be_precompiled))]")
printpkgstyle(ctx, :Precompiling, pkg * " [$i of $(length(needs_to_be_precompiled))]")
run(pipeline(ignorestatus(```
$(Base.julia_cmd()) -O$(Base.JLOptions().opt_level) --color=no --history-file=no
--startup-file=$(Base.JLOptions().startupfile != 2 ? "yes" : "no")
Expand Down
2 changes: 1 addition & 1 deletion stdlib/Pkg/src/Operations.jl
Original file line number Diff line number Diff line change
Expand Up @@ -1100,7 +1100,7 @@ function test(ctx::Context, pkgs::Vector{PackageSpec}; coverage=false)
run_test = () -> begin
try
run(cmd)
printpkgstyle(ctx, :Testing, pkg.name, " tests passed ")
printpkgstyle(ctx, :Testing, pkg.name * " tests passed ")
catch err
push!(pkgs_errored, pkg.name)
end
Expand Down

0 comments on commit 41f2046

Please sign in to comment.