diff --git a/build/azure-pipelines/publish-types/publish-types.yml b/build/azure-pipelines/publish-types/publish-types.yml index fcbdc49a8973d7799b187ad4ad1d2bd6343184b3..8c82e9a7c639515a6e5e460f479fc886cae9c18c 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 82044447dd0b64bd5dcc60714eaa417fa8b1dbb1..02e50c9a24ac92bc47146351f4012553dfb2d78b 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);