From dd774878b784c2073fb92c09c80ed85e05f33ada Mon Sep 17 00:00:00 2001 From: Nick Boldt Date: Thu, 19 Mar 2020 11:59:52 -0400 Subject: [PATCH] Update theia-commands.ts ``` -S/--show-error When used with -s it makes curl show an error message if it fails. ``` --- plugins/workspace-plugin/src/theia-commands.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/workspace-plugin/src/theia-commands.ts b/plugins/workspace-plugin/src/theia-commands.ts index 27aa9e678..8382a822b 100644 --- a/plugins/workspace-plugin/src/theia-commands.ts +++ b/plugins/workspace-plugin/src/theia-commands.ts @@ -204,7 +204,7 @@ export class TheiaImportZipCommand implements TheiaImportCommand { const importZip = async (progress: theia.Progress<{ message?: string; increment?: number }>, token: theia.CancellationToken): Promise => { try { // download - const curlArgs = ['-sL', '--output', this.zipfilePath]; + const curlArgs = ['-sSL', '--output', this.zipfilePath]; if (fs.existsSync(SS_CRT_PATH)) { curlArgs.push('-k'); }