mirror of
https://github.com/AikidoSec/safe-chain.git
synced 2026-05-26 12:10:49 +00:00
Some modifications
This commit is contained in:
parent
3c18ad76f7
commit
5de43c1bf2
1 changed files with 2 additions and 2 deletions
|
|
@ -160,8 +160,8 @@ function modifyPathForCi(shimsDir, binDir) {
|
|||
|
||||
if (process.env.BASH_ENV) {
|
||||
// In CircleCI, persisting PATH across steps is done by appending shell exports
|
||||
// to the file referenced by BASH_ENV. CircleCI sources this file for each step.
|
||||
const exportLine = `export PATH=\"${shimsDir}:${binDir}:$PATH\"` + os.EOL;
|
||||
// to the file referenced by BASH_ENV. CircleCI sources this file for 'run' each step.
|
||||
const exportLine = `export PATH="${shimsDir}:${binDir}:$PATH"` + os.EOL;
|
||||
fs.appendFileSync(process.env.BASH_ENV, exportLine, "utf-8");
|
||||
ui.writeInformation(`Added shims directory to BASH_ENV for CircleCI.`);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue