From a22645392d7329874e35fc67ffdb001d7e55ed14 Mon Sep 17 00:00:00 2001 From: Philip Patsch Date: Thu, 12 May 2022 12:23:28 +0200 Subject: [PATCH] fix: Add --noprofile to the bash invocation Otherwise it fails on ``` /etc/bashrc: line 4: __ETC_BASHRC_SOURCED: unbound variable ``` --- dist/post/index.js | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/dist/post/index.js b/dist/post/index.js index 0c78bcb..5201d12 100644 --- a/dist/post/index.js +++ b/dist/post/index.js @@ -1751,7 +1751,14 @@ const tr = __importStar(__webpack_require__(9)); */ function exec(commandLine, args, options) { return __awaiter(this, void 0, void 0, function* () { - const runner = new tr.ToolRunner("bash", ["-euo", "pipefail", "-c", commandLine], options); + const runner = new tr.ToolRunner( + "bash", + [ "--noprofile", + "-euo", "pipefail", + "-c", commandLine + ], + options + ); return runner.exec(); }); }