提交 720f0b4d 编写于 作者: B Brett V. Forsgren 提交者: GitHub

move `else` clause to the ending line of the `if` block (#2785)

上级 fbf7ea0c
......@@ -907,8 +907,7 @@ if "%PUBLISH_VSIX%" == "1" (
if not "%MYGET_APIKEY%" == "" (
powershell -noprofile -executionPolicy ByPass -file "%~dp0setup\publish-assets.ps1" -binariesPath "%~dp0%BUILD_CONFIG%" -branchName "%BUILD_SOURCEBRANCH%" -apiKey "%MYGET_APIKEY%"
if errorlevel 1 goto :failure
)
else (
) else (
echo No MyGet API key specified, skipping package publish.
)
)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册