mirror of
https://github.com/codecov/codecov-action.git
synced 2025-12-23 20:27:02 +08:00
js is hard
This commit is contained in:
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);
|
||||||
|
|||||||
Reference in New Issue
Block a user