This commit is contained in:
Ashita Prasad
2024-11-30 16:08:09 +05:30
parent bbcca7ee40
commit bd7b1e5e3a
2 changed files with 30 additions and 12 deletions

View File

@ -255,11 +255,11 @@ class Curl extends Equatable {
}
// Add the insecure flag
if (insecure) {
cmd += " \\\n -k ";
cmd += "-k ";
}
// Add the location flag
if (location) {
cmd += " \\\n -L ";
cmd += "-L ";
}
return cmd.trim();