Skip to content

Commit

Permalink
fix: only use -e
Browse files Browse the repository at this point in the history
-euo will stumble on unbound variables in /etc/profile for some
reason.

I thought --noprofile would disable that file, but looks like it’s
sourced nonetheless? This is all very bad.
  • Loading branch information
Profpatsch committed May 12, 2022
1 parent a226453 commit 058ef7e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dist/post/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -1754,7 +1754,7 @@ function exec(commandLine, args, options) {
const runner = new tr.ToolRunner(
"bash",
[ "--noprofile",
"-euo", "pipefail",
"-e",
"-c", commandLine
],
options
Expand Down

0 comments on commit 058ef7e

Please sign in to comment.