We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent aca6c5b commit e29b8aaCopy full SHA for e29b8aa
src/cml.js
@@ -403,9 +403,10 @@ class CML {
403
404
async startRunner(opts = {}) {
405
const env = {};
406
- const sensitive =
407
- ['_CML_RUNNER_SENSITIVE_ENV'] +
408
- process.env._CML_RUNNER_SENSITIVE_ENV.split(':');
+ const sensitive = [
+ '_CML_RUNNER_SENSITIVE_ENV',
+ ...process.env._CML_RUNNER_SENSITIVE_ENV.split(':')
409
+ ];
410
for (const variable in process.env)
411
if (!sensitive.includes(variable)) env[variable] = process.env[variable];
412
return await this.getDriver().startRunner({ ...opts, env });
0 commit comments