未验证 提交 b8473cde 编写于 作者: D Dan Field 提交者: GitHub

use correct no-download-badge (#7735)

上级 b0370c13
......@@ -24,6 +24,15 @@ if [[ -n "${GEM_HOME}" ]]
PATH="${GEM_HOME}/bin:$PATH"
fi
# Jazzy 0.8.x, used on chrome infra, expects --no-download-badge
# Jazzy 0.9.x, used on LUCI, doesn't support that flag.
noDownloadBadge=""
if [[ -z "$LUCI_CONTEXT" ]]
then
noDownloadBadge="--no-download-badge"
fi
# Use iPhoneSimulator SDK
# See: https://github.com/realm/jazzy/issues/791
jazzy \
......@@ -39,4 +48,4 @@ jazzy \
--module Flutter\
--root-url https://docs.flutter.io/objc/\
--output "$1"\
--no-download-badge
$noDownloadBadge
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册