From 0f8a658a237d69b688167261f9b06d2231daf9e5 Mon Sep 17 00:00:00 2001 From: Zachary Shilton <4624598+zchsh@users.noreply.github.com> Date: Thu, 18 Mar 2021 15:05:52 -0400 Subject: [PATCH] website: clarify tag vs version in error msg Co-authored-by: Wilken Rivera --- .../components/remote-plugin-docs/utils/fetch-plugin-docs.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/website/components/remote-plugin-docs/utils/fetch-plugin-docs.js b/website/components/remote-plugin-docs/utils/fetch-plugin-docs.js index d02930ca2..ee4238b3a 100644 --- a/website/components/remote-plugin-docs/utils/fetch-plugin-docs.js +++ b/website/components/remote-plugin-docs/utils/fetch-plugin-docs.js @@ -22,7 +22,7 @@ async function fetchDocsFiles({ repo, tag }) { // then throw an error - we can't resolve the fallback source ZIP // unless we resort to calling the GitHub API, which we do not want to do if (tag === 'latest') { - const err = `Failed to fetch. Could not find "docs.zip" at ${docsZipUrl}. To fall back to parsing docs from "source", please provide a specific tag instead of "${tag}".` + const err = `Failed to fetch. Could not find "docs.zip" at ${docsZipUrl}. To fall back to parsing docs from "source", please provide a specific version tag instead of "${tag}".` return [err, null] } // Else if docs.zip is not present, and we have a specific tag, then