change tests

This commit is contained in:
Dana 2023-03-14 13:56:42 +02:00
parent 94551b1cf2
commit 65e35252f1
No known key found for this signature in database
GPG key ID: CE3464681E428690
3 changed files with 7 additions and 7 deletions

View file

@ -25,18 +25,18 @@ try {
https.get(getBaseUrl(platform, uploaderVersion), (res) => {
// Image will be stored at this path
const filePath = fs.createWriteStream(filename);
console.log("filePath", filePath);
console.log('filePath', filePath);
res.pipe(filePath);
filePath
.on('error', (err) => {
console.log("Codecov: Failed to write uploader binary:");
console.log('Codecov: Failed to write uploader binary:');
setFailure(
`Codecov: Failed to write uploader binary: ${err.message}`,
true,
);
}).on('finish', async () => {
filePath.close();
console.log("finish")
console.log('finish');
// await verify(filename, platform, uploaderVersion, verbose, failCi);
await versionInfo(platform, uploaderVersion);
await fs.chmodSync(filename, '777');