js is hard

This commit is contained in:
Tom Hu
2021-01-02 17:02:54 -05:00
parent d9d5217980
commit 56353bc0f0
2 changed files with 4 additions and 4 deletions

4
dist/index.js vendored
View File

@@ -2606,7 +2606,7 @@ let buildExec = () => {
if (xcode_derived_data) { execArgs.push("-D", `${xcode_derived_data}`); }
if (xcode_package) { execArgs.push("-J", `${xcode_package}`); }
return execArgs, filepath, fail_ci;
return { execArgs, filepath, fail_ci };
}
try {
@@ -2617,7 +2617,7 @@ try {
url: "https://codecov.io/bash"
}, (error, response, body) => {
try {
let execArgs, filepath, fail_ci = buildExec();
let { execArgs, filepath, fail_ci } = buildExec();
console.log(execArgs);
console.log(filepath);

View File

@@ -90,7 +90,7 @@ let buildExec = () => {
if (xcode_derived_data) { execArgs.push("-D", `${xcode_derived_data}`); }
if (xcode_package) { execArgs.push("-J", `${xcode_package}`); }
return execArgs, filepath, fail_ci;
return { execArgs, filepath, fail_ci };
}
try {
@@ -101,7 +101,7 @@ try {
url: "https://codecov.io/bash"
}, (error, response, body) => {
try {
let execArgs, filepath, fail_ci = buildExec();
let { execArgs, filepath, fail_ci } = buildExec();
console.log(execArgs);
console.log(filepath);