Skip to content
This repository has been archived by the owner on Apr 4, 2023. It is now read-only.

Commit

Permalink
Update theia-commands.ts
Browse files Browse the repository at this point in the history
```
-S/--show-error
When used with -s it makes curl show an error message if it fails.
```
  • Loading branch information
nickboldt authored and mmorhun committed Mar 23, 2020
1 parent 6315e5a commit dd77487
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/workspace-plugin/src/theia-commands.ts
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,7 @@ export class TheiaImportZipCommand implements TheiaImportCommand {
const importZip = async (progress: theia.Progress<{ message?: string; increment?: number }>, token: theia.CancellationToken): Promise<void> => {
try {
// download
const curlArgs = ['-sL', '--output', this.zipfilePath];
const curlArgs = ['-sSL', '--output', this.zipfilePath];
if (fs.existsSync(SS_CRT_PATH)) {
curlArgs.push('-k');
}
Expand Down

0 comments on commit dd77487

Please sign in to comment.