diff --git a/src/plugins/appveyor.jl b/src/plugins/appveyor.jl index ffa2359..80d5060 100644 --- a/src/plugins/appveyor.jl +++ b/src/plugins/appveyor.jl @@ -16,8 +16,8 @@ Add AppVeyor to a template's plugins to add AppVeyor CI support. if isempty(config_file) config_file = joinpath(DEFAULTS_DIR, "appveyor.yml") end - if !isfile(abspath(config_file)) - throw(ArgumentError("File $config_file does not exist")) + if !isfile(config_file) + throw(ArgumentError("File $(abspath(config_file)) does not exist")) end end new(AbstractString[], config_file) diff --git a/src/plugins/codecov.jl b/src/plugins/codecov.jl index e185370..1eb4796 100644 --- a/src/plugins/codecov.jl +++ b/src/plugins/codecov.jl @@ -16,8 +16,8 @@ Add CodeCov to a template's plugins to enable CodeCov coverage reports. if isempty(config_file) config_file = joinpath(DEFAULTS_DIR, "codecov.yml") end - if !isfile(abspath(config_file)) - throw(ArgumentError("File $config_file does not exist")) + if !isfile(config_file) + throw(ArgumentError("File $(abspath(config_file)) does not exist")) end end new(["*.jl.cov", "*.jl.*.cov", "*.jl.mem"], config_file) diff --git a/src/plugins/githubpages.jl b/src/plugins/githubpages.jl index 572d3b9..f7fc9c0 100644 --- a/src/plugins/githubpages.jl +++ b/src/plugins/githubpages.jl @@ -13,7 +13,7 @@ Add GitHubPages to a template's plugins to add Documenter.jl support via GitHub function GitHubPages(; assets::Vector{String}=String[]) for file in assets if !isfile(file) - throw(ArgumentError("Asset file $file does not exist")) + throw(ArgumentError("Asset file $(abspath(file)) does not exist")) end end # Windows Git recognizes these paths as well. diff --git a/src/plugins/travis.jl b/src/plugins/travis.jl index 13e2ff8..201f8b5 100644 --- a/src/plugins/travis.jl +++ b/src/plugins/travis.jl @@ -16,8 +16,8 @@ Add TravisCI to a template's plugins to add Travis CI support. if isempty(config_file) config_file = joinpath(DEFAULTS_DIR, "travis.yml") end - if !isfile(abspath(config_file)) - throw(ArgumentError("File $config_file does not exist")) + if !isfile(config_file) + throw(ArgumentError("File $(abspath(config_file)) does not exist")) end end new(AbstractString[], config_file)