mirror of
https://github.com/codecov/codecov-action.git
synced 2026-02-09 20:47:26 +00:00
fix: more logging
This commit is contained in:
parent
4ec3acecb4
commit
96c10b3f72
3 changed files with 23 additions and 1 deletions
12
dist/index.js
vendored
12
dist/index.js
vendored
|
|
@ -24610,7 +24610,19 @@ try {
|
|||
setFailure(`Codecov:Failed to write uploader binary: ${err.message}\n${err}`, true);
|
||||
core.info(`${console.trace()}`);
|
||||
}).on('finish', () => src_awaiter(void 0, void 0, void 0, function* () {
|
||||
if (external_fs_.existsSync(filename)) {
|
||||
core.info('IT EXISTS');
|
||||
}
|
||||
else {
|
||||
core.info('IT DOESNT EXIST');
|
||||
}
|
||||
filePath.close();
|
||||
if (external_fs_.existsSync(filename)) {
|
||||
core.info('IT EXISTS');
|
||||
}
|
||||
else {
|
||||
core.info('IT DOESNT EXIST');
|
||||
}
|
||||
yield validate(filename, platform, uploaderVersion, verbose, failCi);
|
||||
yield version(platform, uploaderVersion);
|
||||
yield external_fs_.chmodSync(filename, '777');
|
||||
|
|
|
|||
2
dist/index.js.map
vendored
2
dist/index.js.map
vendored
File diff suppressed because one or more lines are too long
10
src/index.ts
10
src/index.ts
|
|
@ -40,7 +40,17 @@ try {
|
|||
);
|
||||
core.info(`${console.trace()}`);
|
||||
}).on('finish', async () => {
|
||||
if (fs.existsSync(filename)) {
|
||||
core.info('IT EXISTS');
|
||||
} else {
|
||||
core.info('IT DOESNT EXIST');
|
||||
}
|
||||
filePath.close();
|
||||
if (fs.existsSync(filename)) {
|
||||
core.info('IT EXISTS');
|
||||
} else {
|
||||
core.info('IT DOESNT EXIST');
|
||||
}
|
||||
|
||||
await verify(filename, platform, uploaderVersion, verbose, failCi);
|
||||
await versionInfo(platform, uploaderVersion);
|
||||
|
|
|
|||
Loading…
Reference in a new issue