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 30acbb8 commit daa7cdeCopy full SHA for daa7cde
src/cml.js
@@ -409,9 +409,10 @@ class CML {
409
410
async startRunner(opts = {}) {
411
const env = {};
412
- const sensitive =
413
- ['_CML_RUNNER_SENSITIVE_ENV'] +
414
- process.env._CML_RUNNER_SENSITIVE_ENV.split(':');
+ const sensitive = [
+ '_CML_RUNNER_SENSITIVE_ENV',
+ ...process.env._CML_RUNNER_SENSITIVE_ENV.split(':')
415
+ ];
416
for (const variable in process.env)
417
if (!sensitive.includes(variable)) env[variable] = process.env[variable];
418
return await this.getDriver().startRunner({ ...opts, env });
0 commit comments