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

Commit

Permalink
Use curl instead of wget
Browse files Browse the repository at this point in the history
Signed-off-by: Mykola Morhun <mmorhun@redhat.com>
  • Loading branch information
mmorhun committed Mar 23, 2020
1 parent c79ce3c commit 6315e5a
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 = ['-L', '--output', this.zipfilePath];
const curlArgs = ['-sL', '--output', this.zipfilePath];
if (fs.existsSync(SS_CRT_PATH)) {
curlArgs.push('-k');
}
Expand Down

0 comments on commit 6315e5a

Please sign in to comment.