Skip to content
This repository was archived by the owner on Feb 19, 2020. It is now read-only.

Commit 16a577c

Browse files
committed
fix curl ssl issue on windows
1 parent 194b838 commit 16a577c

File tree

2 files changed

+3956
-0
lines changed

2 files changed

+3956
-0
lines changed

src/Codacy/Coverage/Util/CodacyApiClient.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ public function sendCoverage($commit, $data)
3737
"project_token: " . $this->projectToken
3838
)
3939
);
40+
curl_setopt($curl, CURLOPT_CAINFO, dirname(__FILE__) . '/cacert.pem');
4041
curl_setopt($curl, CURLOPT_POST, true);
4142
curl_setopt($curl, CURLOPT_POSTFIELDS, $data);
4243

0 commit comments

Comments
 (0)