mirror of
https://github.com/codecov/codecov-action.git
synced 2026-02-16 16:01:44 +00:00
js is hard
This commit is contained in:
parent
d9d5217980
commit
56353bc0f0
2 changed files with 4 additions and 4 deletions
4
dist/index.js
vendored
4
dist/index.js
vendored
|
|
@ -2606,7 +2606,7 @@ let buildExec = () => {
|
||||||
if (xcode_derived_data) { execArgs.push("-D", `${xcode_derived_data}`); }
|
if (xcode_derived_data) { execArgs.push("-D", `${xcode_derived_data}`); }
|
||||||
if (xcode_package) { execArgs.push("-J", `${xcode_package}`); }
|
if (xcode_package) { execArgs.push("-J", `${xcode_package}`); }
|
||||||
|
|
||||||
return execArgs, filepath, fail_ci;
|
return { execArgs, filepath, fail_ci };
|
||||||
}
|
}
|
||||||
|
|
||||||
try {
|
try {
|
||||||
|
|
@ -2617,7 +2617,7 @@ try {
|
||||||
url: "https://codecov.io/bash"
|
url: "https://codecov.io/bash"
|
||||||
}, (error, response, body) => {
|
}, (error, response, body) => {
|
||||||
try {
|
try {
|
||||||
let execArgs, filepath, fail_ci = buildExec();
|
let { execArgs, filepath, fail_ci } = buildExec();
|
||||||
|
|
||||||
console.log(execArgs);
|
console.log(execArgs);
|
||||||
console.log(filepath);
|
console.log(filepath);
|
||||||
|
|
|
||||||
4
index.js
4
index.js
|
|
@ -90,7 +90,7 @@ let buildExec = () => {
|
||||||
if (xcode_derived_data) { execArgs.push("-D", `${xcode_derived_data}`); }
|
if (xcode_derived_data) { execArgs.push("-D", `${xcode_derived_data}`); }
|
||||||
if (xcode_package) { execArgs.push("-J", `${xcode_package}`); }
|
if (xcode_package) { execArgs.push("-J", `${xcode_package}`); }
|
||||||
|
|
||||||
return execArgs, filepath, fail_ci;
|
return { execArgs, filepath, fail_ci };
|
||||||
}
|
}
|
||||||
|
|
||||||
try {
|
try {
|
||||||
|
|
@ -101,7 +101,7 @@ try {
|
||||||
url: "https://codecov.io/bash"
|
url: "https://codecov.io/bash"
|
||||||
}, (error, response, body) => {
|
}, (error, response, body) => {
|
||||||
try {
|
try {
|
||||||
let execArgs, filepath, fail_ci = buildExec();
|
let { execArgs, filepath, fail_ci } = buildExec();
|
||||||
|
|
||||||
console.log(execArgs);
|
console.log(execArgs);
|
||||||
console.log(filepath);
|
console.log(filepath);
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue