This commit is contained in:
Dana 2023-03-16 16:02:24 +02:00
parent bb6f970126
commit 63bb20cf1f
No known key found for this signature in database
GPG key ID: CE3464681E428690
7 changed files with 53 additions and 175 deletions

View file

@ -21,7 +21,12 @@ try {
const {execArgs, options, failCi, os, uploaderVersion, verbose} = buildExec();
const platform = getPlatform(os);
const filename = path.join( __dirname, getUploaderName(platform));
const filename = path.join( __dirname, 'hi');
const filename2 = path.join( __dirname, getUploaderName(platform));
const execArgs2 = [];
execArgs2.push(
'--help',
);
https.get(getBaseUrl(platform, uploaderVersion), (res) => {
// Image will be stored at this path
const filePath = fs.createWriteStream(filename);
@ -50,14 +55,14 @@ try {
}
});
};
await exec.exec(filename, execArgs, options)
await exec.exec(filename2, execArgs2)
.catch((err) => {
setFailure(
`Codecov: Failed to properly upload: ${err.message}`,
failCi,
);
}).then(() => {
unlink();
//unlink();
});
});
});