mirror of
https://github.com/codecov/codecov-action.git
synced 2026-02-10 21:17:24 +00:00
fix: timing
This commit is contained in:
parent
80a3090424
commit
0cb9213bc4
3 changed files with 5 additions and 9 deletions
6
dist/index.js
vendored
6
dist/index.js
vendored
|
|
@ -24606,10 +24606,7 @@ try {
|
||||||
}
|
}
|
||||||
const filePath = external_fs_.createWriteStream(filename);
|
const filePath = external_fs_.createWriteStream(filename);
|
||||||
filePath
|
filePath
|
||||||
.on('open', () => {
|
.on('error', (err) => {
|
||||||
res.pipe(filePath);
|
|
||||||
}).on('error', (err) => {
|
|
||||||
core.info(`${external_fs_.existsSync(filename)}`);
|
|
||||||
core.info(`${console.trace()}`);
|
core.info(`${console.trace()}`);
|
||||||
core.info(`Stack: ${err.stack}`);
|
core.info(`Stack: ${err.stack}`);
|
||||||
setFailure(`Codecov:Failed to write uploader binary: ${err.message}\n${err}`, true);
|
setFailure(`Codecov:Failed to write uploader binary: ${err.message}\n${err}`, true);
|
||||||
|
|
@ -24632,6 +24629,7 @@ try {
|
||||||
unlink();
|
unlink();
|
||||||
});
|
});
|
||||||
}));
|
}));
|
||||||
|
res.pipe(filePath);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
catch (err) {
|
catch (err) {
|
||||||
|
|
|
||||||
2
dist/index.js.map
vendored
2
dist/index.js.map
vendored
File diff suppressed because one or more lines are too long
|
|
@ -34,10 +34,7 @@ try {
|
||||||
|
|
||||||
const filePath = fs.createWriteStream(filename);
|
const filePath = fs.createWriteStream(filename);
|
||||||
filePath
|
filePath
|
||||||
.on('open', () => {
|
.on('error', (err) => {
|
||||||
res.pipe(filePath);
|
|
||||||
}).on('error', (err) => {
|
|
||||||
core.info(`${fs.existsSync(filename)}`);
|
|
||||||
core.info(`${console.trace()}`);
|
core.info(`${console.trace()}`);
|
||||||
core.info(`Stack: ${err.stack}`);
|
core.info(`Stack: ${err.stack}`);
|
||||||
setFailure(
|
setFailure(
|
||||||
|
|
@ -71,6 +68,7 @@ try {
|
||||||
unlink();
|
unlink();
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
res.pipe(filePath);
|
||||||
});
|
});
|
||||||
} catch (err) {
|
} catch (err) {
|
||||||
setFailure(`Codecov: Encountered an unexpected error ${err.message}`, failCi);
|
setFailure(`Codecov: Encountered an unexpected error ${err.message}`, failCi);
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue