Add path to command args

pull/326/head
Andrew Kahr 2022-01-25 22:39:01 -08:00
parent d8f6c81dd3
commit c99854b201
3 changed files with 5 additions and 5 deletions

4
dist/index.js vendored
View File

@ -1217,8 +1217,8 @@ const exec_1 = __webpack_require__(71514);
class MacBuilder { class MacBuilder {
static run(actionFolder, workspace, buildParameters, silent = false) { static run(actionFolder, workspace, buildParameters, silent = false) {
return __awaiter(this, void 0, void 0, function* () { return __awaiter(this, void 0, void 0, function* () {
const command = `source ${actionFolder}/platforms/mac/entrypoint.sh`; const command = `source`;
yield exec_1.exec(command, undefined, { silent }); yield exec_1.exec(command, [`${actionFolder}/platforms/mac/entrypoint.sh`], { silent });
}); });
} }
} }

2
dist/index.js.map vendored

File diff suppressed because one or more lines are too long

View File

@ -3,8 +3,8 @@ import { BuildParameters } from '.';
class MacBuilder { class MacBuilder {
public static async run(actionFolder, workspace, buildParameters: BuildParameters, silent = false) { public static async run(actionFolder, workspace, buildParameters: BuildParameters, silent = false) {
const command = `source ${actionFolder}/platforms/mac/entrypoint.sh`; const command = `source`;
await exec(command, undefined, { silent }); await exec(command, [`${actionFolder}/platforms/mac/entrypoint.sh`], { silent });
} }
} }