Skip to content

Commit

Permalink
Enable ssl verificatation for patch download
Browse files Browse the repository at this point in the history
  • Loading branch information
cmuench committed Jun 20, 2023
1 parent d2b5e3a commit 5159d52
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/N98/Magento/Command/Github/PullRequestCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ protected function execute(InputInterface $input, OutputInterface $output)
protected function fetchDiffContent($diffUrl): string
{
if ($this->diffContent === '') {
$response = Requests::get($diffUrl, [], ['verify' => false]);
$response = Requests::get($diffUrl, [], ['verify' => true]);
$this->diffContent = $response->body;
}

Expand Down Expand Up @@ -136,7 +136,7 @@ protected function getPullRequestInfoByApi(InputInterface $input): \WpOrg\Reques
$input->getArgument('number')
),
[],
['verify' => false]
['verify' => true]
);
return $pullRequestDataResponse;
}
Expand Down

0 comments on commit 5159d52

Please sign in to comment.