Skip to content

Commit

Permalink
Add env vars to dapr command
Browse files Browse the repository at this point in the history
  • Loading branch information
yevgen-el8 committed Apr 3, 2024
1 parent 8a5df4d commit 3ba27da
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/tasks/daprdCommandTaskProvider.ts
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ export default class DaprdCommandTaskProvider extends CommandTaskProvider {
.withArgs(daprDefinition.args)
.build();

await callback(command, { cwd: definition.cwd });
await callback(command, { cwd: definition.cwd, env: Object.assign({}, process.env, definition.options?.env) });
});
},
/* isBackgroundTask: */ true,
Expand Down

0 comments on commit 3ba27da

Please sign in to comment.