Skip to content

Commit

Permalink
♻ Adjust order of exec env vars to allow inheritance
Browse files Browse the repository at this point in the history
  • Loading branch information
wwilsman committed Sep 2, 2020
1 parent 44735f3 commit 076c340
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/cli-exec/src/commands/exec/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -53,9 +53,9 @@ export class Exec extends Command {

// provide SDKs with useful env vars
let env = {
...process.env,
PERCY_CLI_API: this.percy?.apiAddress(),
PERCY_LOGLEVEL: log.loglevel()
PERCY_LOGLEVEL: log.loglevel(),
...process.env
};

// run the passed command async
Expand Down

0 comments on commit 076c340

Please sign in to comment.