mirror of
https://github.com/codecov/codecov-action.git
synced 2026-02-10 04:57:24 +00:00
fix: better logs
This commit is contained in:
parent
fc784079cb
commit
844470b397
3 changed files with 13 additions and 13 deletions
12
dist/index.js
vendored
12
dist/index.js
vendored
|
|
@ -24603,26 +24603,26 @@ try {
|
||||||
res.pipe(filePath);
|
res.pipe(filePath);
|
||||||
}).on('error', (err) => {
|
}).on('error', (err) => {
|
||||||
if (external_fs_.existsSync(filename)) {
|
if (external_fs_.existsSync(filename)) {
|
||||||
core.info('IT EXISTS');
|
core.info('IT EXISTS on');
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
core.info('IT DOESNT EXIST');
|
core.info('IT DOESNT EXIST on');
|
||||||
}
|
}
|
||||||
setFailure(`Codecov:Failed to write uploader binary: ${err.message}\n${err}`, true);
|
setFailure(`Codecov:Failed to write uploader binary: ${err.message}\n${err}`, true);
|
||||||
core.info(`${console.trace()}`);
|
core.info(`${console.trace()}`);
|
||||||
}).on('finish', () => src_awaiter(void 0, void 0, void 0, function* () {
|
}).on('finish', () => src_awaiter(void 0, void 0, void 0, function* () {
|
||||||
if (external_fs_.existsSync(filename)) {
|
if (external_fs_.existsSync(filename)) {
|
||||||
core.info('IT EXISTS');
|
core.info('IT EXISTS finish');
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
core.info('IT DOESNT EXIST');
|
core.info('IT DOESNT EXIST finish');
|
||||||
}
|
}
|
||||||
filePath.close();
|
filePath.close();
|
||||||
if (external_fs_.existsSync(filename)) {
|
if (external_fs_.existsSync(filename)) {
|
||||||
core.info('IT EXISTS');
|
core.info('IT EXISTS close');
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
core.info('IT DOESNT EXIST');
|
core.info('IT DOESNT EXIST close');
|
||||||
}
|
}
|
||||||
yield validate(filename, platform, uploaderVersion, verbose, failCi);
|
yield validate(filename, platform, uploaderVersion, verbose, failCi);
|
||||||
yield version(platform, uploaderVersion);
|
yield version(platform, uploaderVersion);
|
||||||
|
|
|
||||||
2
dist/index.js.map
vendored
2
dist/index.js.map
vendored
File diff suppressed because one or more lines are too long
12
src/index.ts
12
src/index.ts
|
|
@ -31,9 +31,9 @@ try {
|
||||||
res.pipe(filePath);
|
res.pipe(filePath);
|
||||||
}).on('error', (err) => {
|
}).on('error', (err) => {
|
||||||
if (fs.existsSync(filename)) {
|
if (fs.existsSync(filename)) {
|
||||||
core.info('IT EXISTS');
|
core.info('IT EXISTS on');
|
||||||
} else {
|
} else {
|
||||||
core.info('IT DOESNT EXIST');
|
core.info('IT DOESNT EXIST on');
|
||||||
}
|
}
|
||||||
setFailure(
|
setFailure(
|
||||||
`Codecov:Failed to write uploader binary: ${err.message}\n${err}`,
|
`Codecov:Failed to write uploader binary: ${err.message}\n${err}`,
|
||||||
|
|
@ -42,15 +42,15 @@ try {
|
||||||
core.info(`${console.trace()}`);
|
core.info(`${console.trace()}`);
|
||||||
}).on('finish', async () => {
|
}).on('finish', async () => {
|
||||||
if (fs.existsSync(filename)) {
|
if (fs.existsSync(filename)) {
|
||||||
core.info('IT EXISTS');
|
core.info('IT EXISTS finish');
|
||||||
} else {
|
} else {
|
||||||
core.info('IT DOESNT EXIST');
|
core.info('IT DOESNT EXIST finish');
|
||||||
}
|
}
|
||||||
filePath.close();
|
filePath.close();
|
||||||
if (fs.existsSync(filename)) {
|
if (fs.existsSync(filename)) {
|
||||||
core.info('IT EXISTS');
|
core.info('IT EXISTS close');
|
||||||
} else {
|
} else {
|
||||||
core.info('IT DOESNT EXIST');
|
core.info('IT DOESNT EXIST close');
|
||||||
}
|
}
|
||||||
|
|
||||||
await verify(filename, platform, uploaderVersion, verbose, failCi);
|
await verify(filename, platform, uploaderVersion, verbose, failCi);
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue