Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
  • Loading branch information
0x2b3bfa0 committed Oct 11, 2022
1 parent 251ce86 commit 30acbb8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/cml.js
Original file line number Diff line number Diff line change
Expand Up @@ -410,8 +410,8 @@ class CML {
async startRunner(opts = {}) {
const env = {};
const sensitive =
['CML_RUNNER_SENSITIVE_ENV'] +
process.env.CML_RUNNER_SENSITIVE_ENV.split(':');
['_CML_RUNNER_SENSITIVE_ENV'] +
process.env._CML_RUNNER_SENSITIVE_ENV.split(':');
for (const variable in process.env)
if (!sensitive.includes(variable)) env[variable] = process.env[variable];
return await this.getDriver().startRunner({ ...opts, env });
Expand Down

0 comments on commit 30acbb8

Please sign in to comment.