mirror of
https://github.com/codecov/codecov-action.git
synced 2026-02-09 20:47:26 +00:00
change tests
This commit is contained in:
parent
94551b1cf2
commit
65e35252f1
3 changed files with 7 additions and 7 deletions
6
dist/index.js
vendored
6
dist/index.js
vendored
|
|
@ -18941,15 +18941,15 @@ try {
|
|||
external_https_.get(getBaseUrl(platform, uploaderVersion), (res) => {
|
||||
// Image will be stored at this path
|
||||
const filePath = external_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', () => src_awaiter(void 0, void 0, void 0, function* () {
|
||||
filePath.close();
|
||||
console.log("finish");
|
||||
console.log('finish');
|
||||
// await verify(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
|
|
@ -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…
Reference in a new issue