Skip to content

Commit

Permalink
Use correctly typed array as default assets
Browse files Browse the repository at this point in the history
This is just a bandaid.
  • Loading branch information
christopher-dG committed May 14, 2019
1 parent beb169a commit 508fad7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/plugins/documenter.jl
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ function gen_plugin(p::Documenter, t::Template, pkg_name::AbstractString)

s
else
"[]"
"String[]"
end

kwargs_string = if :additional_kwargs in fieldnames(typeof(p)) &&
Expand Down
2 changes: 1 addition & 1 deletion test/plugins/githubpages.jl
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ pkg_dir = joinpath(t.dir, test_pkg)
@test isdir(joinpath(pkg_dir, "docs"))
@test isfile(joinpath(pkg_dir, "docs", "make.jl"))
make = readchomp(joinpath(pkg_dir, "docs", "make.jl"))
@test occursin("assets=[]", make)
@test occursin("assets=String[]", make)
@test !occursin("deploydocs", make)
@test isdir(joinpath(pkg_dir, "docs", "src"))
@test isfile(joinpath(pkg_dir, "docs", "src", "index.md"))
Expand Down

0 comments on commit 508fad7

Please sign in to comment.