diff --git a/.github/workflows/IntegrationTest.yml b/.github/workflows/IntegrationTest.yml index aa9c032acf..bd7e9eeb3b 100644 --- a/.github/workflows/IntegrationTest.yml +++ b/.github/workflows/IntegrationTest.yml @@ -24,6 +24,8 @@ on: branches-ignore: - release +env: + JULIA_PLUTO_IGNORE_CDN_BUNDLE_WARNING: true jobs: test: diff --git a/src/notebook/Export.jl b/src/notebook/Export.jl index d49261a5ce..fa9cd5d02d 100644 --- a/src/notebook/Export.jl +++ b/src/notebook/Export.jl @@ -36,7 +36,7 @@ function cdnified_html(filename::AbstractString; URIs.resolvereference(cdn_root, url) |> string end catch e - @warn "Could not use bundled CDN version of $(filename). You should only see this message if you are using a fork of Pluto." exception=(e,catch_backtrace()) maxlog=1 + get(ENV, "JULIA_PLUTO_IGNORE_CDN_BUNDLE_WARNING", "false") == "true" || @warn "Could not use bundled CDN version of $(filename). You should only see this message if you are using a fork of Pluto." exception=(e,catch_backtrace()) maxlog=1 nothing end end,