Skip to content

Commit

Permalink
fix(cargo): get extraEnv for precise updates (renovatebot#26273)
Browse files Browse the repository at this point in the history
  • Loading branch information
rarkins authored and hersentino committed Jan 9, 2024
1 parent 20f4f49 commit ea9bda6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/modules/manager/cargo/artifacts.ts
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ async function cargoUpdatePrecise(
}

const execOptions: ExecOptions = {
extraEnv: { ...getGitEnvironmentVariables(['cargo']) },
docker: {},
toolConstraints: [{ toolName: 'rust', constraint }],
};
Expand Down

0 comments on commit ea9bda6

Please sign in to comment.