mirror of
https://github.com/codecov/codecov-action.git
synced 2026-04-13 09:30:05 +00:00
change tests
This commit is contained in:
parent
94551b1cf2
commit
65e35252f1
3 changed files with 7 additions and 7 deletions
|
|
@ -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');
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue