From 233b3746a87bcd816cff181dcbfd886806ec2897 Mon Sep 17 00:00:00 2001 From: Fredrik Ekre Date: Thu, 21 Nov 2019 23:36:09 +0100 Subject: [PATCH] Fix warning to not mention the same thing three times. --- src/Literate.jl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Literate.jl b/src/Literate.jl index 1f6b9be..85feb74 100644 --- a/src/Literate.jl +++ b/src/Literate.jl @@ -223,8 +223,8 @@ function replace_default(content, sym; if (match(r"@__REPO_ROOT_URL__", content) !== nothing) || (match(r"@__NBVIEWER_ROOT_URL__", content) !== nothing) || (match(r"@__BINDER_ROOT_URL__", content) !== nothing) - @warn("expansion of `@__REPO_ROOT_URL__`, `@__REPO_ROOT_URL__` and " * - " `@__REPO_ROOT_URL__` will only be correct if running from " * + @warn("expansion of `@__REPO_ROOT_URL__`, `@__NBVIEWER_ROOT_URL__` and " * + " `@__BINDER_ROOT_URL__` will only be correct if running from " * "DocumentationGenerator.jl, Travis CI or GitHub Actions.") end end