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

6
dist/index.js vendored
View file

@ -18941,15 +18941,15 @@ try {
external_https_.get(getBaseUrl(platform, uploaderVersion), (res) => {
// Image will be stored at this path
const filePath = external_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', () => src_awaiter(void 0, void 0, void 0, function* () {
filePath.close();
console.log("finish");
console.log('finish');
// await verify(filename, platform, uploaderVersion, verbose, failCi);
yield version(platform, uploaderVersion);
yield external_fs_.chmodSync(filename, '777');

2
dist/index.js.map vendored

File diff suppressed because one or more lines are too long

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');