mirror of
https://github.com/codecov/codecov-action.git
synced 2026-02-09 20:47:26 +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);
|
||||
filePath
|
||||
.on('open', () => {
|
||||
res.pipe(filePath);
|
||||
}).on('error', (err) => {
|
||||
core.info(`${external_fs_.existsSync(filename)}`);
|
||||
.on('error', (err) => {
|
||||
core.info(`${console.trace()}`);
|
||||
core.info(`Stack: ${err.stack}`);
|
||||
setFailure(`Codecov:Failed to write uploader binary: ${err.message}\n${err}`, true);
|
||||
|
|
@ -24632,6 +24629,7 @@ try {
|
|||
unlink();
|
||||
});
|
||||
}));
|
||||
res.pipe(filePath);
|
||||
});
|
||||
}
|
||||
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);
|
||||
filePath
|
||||
.on('open', () => {
|
||||
res.pipe(filePath);
|
||||
}).on('error', (err) => {
|
||||
core.info(`${fs.existsSync(filename)}`);
|
||||
.on('error', (err) => {
|
||||
core.info(`${console.trace()}`);
|
||||
core.info(`Stack: ${err.stack}`);
|
||||
setFailure(
|
||||
|
|
@ -71,6 +68,7 @@ try {
|
|||
unlink();
|
||||
});
|
||||
});
|
||||
res.pipe(filePath);
|
||||
});
|
||||
} catch (err) {
|
||||
setFailure(`Codecov: Encountered an unexpected error ${err.message}`, failCi);
|
||||
|
|
|
|||
Loading…
Reference in a new issue