From a844e0d6377445b619fe7154f7062f9284a4de13 Mon Sep 17 00:00:00 2001 From: Pine Wu Date: Fri, 17 May 2019 13:30:40 -0700 Subject: [PATCH] Fix build --- build/azure-pipelines/publish-types/publish-types.yml | 2 +- build/azure-pipelines/publish-types/update-types.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/build/azure-pipelines/publish-types/publish-types.yml b/build/azure-pipelines/publish-types/publish-types.yml index fcbdc49a897..8c82e9a7c63 100644 --- a/build/azure-pipelines/publish-types/publish-types.yml +++ b/build/azure-pipelines/publish-types/publish-types.yml @@ -23,7 +23,7 @@ steps: git config user.email "vscode@microsoft.com" git config user.name "VSCode" - git clone https://github.com/octref/vscode-DefinitelyTyped.git --depth=1 -b vscode + git clone https://github.com/octref/vscode-DefinitelyTyped.git --depth=1 cd vscode-DefinitelyTyped diff --git a/build/azure-pipelines/publish-types/update-types.ts b/build/azure-pipelines/publish-types/update-types.ts index 82044447dd0..02e50c9a24a 100644 --- a/build/azure-pipelines/publish-types/update-types.ts +++ b/build/azure-pipelines/publish-types/update-types.ts @@ -18,7 +18,7 @@ try { const dtsUri = `https://raw.githubusercontent.com/microsoft/vscode/${tag}/src/vs/vscode.d.ts`; const outPath = path.resolve(process.cwd(), 'vscode-DefinitelyTyped/types/vscode/index.d.ts'); - cp.execSync(`curl ${dtsUri} -O ${outPath}`); + cp.execSync(`curl ${dtsUri} --output ${outPath}`); updateDTSFile(outPath, tag); -- GitLab