Skip to content

Commit

Permalink
Make sure we are copying the path variable
Browse files Browse the repository at this point in the history
  • Loading branch information
tidy-dev committed Jun 4, 2024
1 parent 11ae070 commit c974bb1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/git-environment.ts
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,7 @@ export function setupEnvironment(
} {
const env: Record<string, string | undefined> = {
...process.env,
...{ PATH: process.env.PATH || '' }, // Ensure PATH is always set not process.env.Path like can be on case-insensitive Windows
...environmentVariables,
}

Expand Down

0 comments on commit c974bb1

Please sign in to comment.