mirror of
https://github.com/codecov/codecov-action.git
synced 2026-02-14 15:07:25 +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) => {
|
external_https_.get(getBaseUrl(platform, uploaderVersion), (res) => {
|
||||||
// Image will be stored at this path
|
// Image will be stored at this path
|
||||||
const filePath = external_fs_.createWriteStream(filename);
|
const filePath = external_fs_.createWriteStream(filename);
|
||||||
console.log("filePath", filePath);
|
console.log('filePath', filePath);
|
||||||
res.pipe(filePath);
|
res.pipe(filePath);
|
||||||
filePath
|
filePath
|
||||||
.on('error', (err) => {
|
.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);
|
setFailure(`Codecov: Failed to write uploader binary: ${err.message}`, true);
|
||||||
}).on('finish', () => src_awaiter(void 0, void 0, void 0, function* () {
|
}).on('finish', () => src_awaiter(void 0, void 0, void 0, function* () {
|
||||||
filePath.close();
|
filePath.close();
|
||||||
console.log("finish");
|
console.log('finish');
|
||||||
// await verify(filename, platform, uploaderVersion, verbose, failCi);
|
// await verify(filename, platform, uploaderVersion, verbose, failCi);
|
||||||
yield version(platform, uploaderVersion);
|
yield version(platform, uploaderVersion);
|
||||||
yield external_fs_.chmodSync(filename, '777');
|
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) => {
|
https.get(getBaseUrl(platform, uploaderVersion), (res) => {
|
||||||
// Image will be stored at this path
|
// Image will be stored at this path
|
||||||
const filePath = fs.createWriteStream(filename);
|
const filePath = fs.createWriteStream(filename);
|
||||||
console.log("filePath", filePath);
|
console.log('filePath', filePath);
|
||||||
res.pipe(filePath);
|
res.pipe(filePath);
|
||||||
filePath
|
filePath
|
||||||
.on('error', (err) => {
|
.on('error', (err) => {
|
||||||
console.log("Codecov: Failed to write uploader binary:");
|
console.log('Codecov: Failed to write uploader binary:');
|
||||||
setFailure(
|
setFailure(
|
||||||
`Codecov: Failed to write uploader binary: ${err.message}`,
|
`Codecov: Failed to write uploader binary: ${err.message}`,
|
||||||
true,
|
true,
|
||||||
);
|
);
|
||||||
}).on('finish', async () => {
|
}).on('finish', async () => {
|
||||||
filePath.close();
|
filePath.close();
|
||||||
console.log("finish")
|
console.log('finish');
|
||||||
// await verify(filename, platform, uploaderVersion, verbose, failCi);
|
// await verify(filename, platform, uploaderVersion, verbose, failCi);
|
||||||
await versionInfo(platform, uploaderVersion);
|
await versionInfo(platform, uploaderVersion);
|
||||||
await fs.chmodSync(filename, '777');
|
await fs.chmodSync(filename, '777');
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue