Skip to content

Commit

Permalink
Export the current env to sub-processes
Browse files Browse the repository at this point in the history
  • Loading branch information
orta committed Nov 26, 2017
1 parent f6d778d commit f9c7026
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/commands/utils/runDangerSubprocess.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ const runDangerSubprocess = (subprocessName: string[], dslJSONString: string, ex
let args = subprocessName
args.shift() // mutate and remove the first element

const child = spawn(processName, args)
const child = spawn(processName, args, { env: process.env })
let allLogs = ""

child.stdin.write(dslJSONString)
Expand Down

0 comments on commit f9c7026

Please sign in to comment.