File tree Expand file tree Collapse file tree 1 file changed +1
-14
lines changed
packages/cli-v3/src/entryPoints Expand file tree Collapse file tree 1 file changed +1
-14
lines changed Original file line number Diff line number Diff line change @@ -898,7 +898,7 @@ class ManagedRunController {
898898 ) satisfies TaskRunExecutionMetrics ;
899899
900900 const taskRunEnv = {
901- ...gatherProcessEnv ( ) ,
901+ ...env . gatherProcessEnv ( ) ,
902902 ...envVars ,
903903 } ;
904904
@@ -1580,19 +1580,6 @@ const workerManifest = await loadWorkerManifest();
15801580const prodWorker = new ManagedRunController ( { workerManifest } ) ;
15811581await prodWorker . start ( ) ;
15821582
1583- function gatherProcessEnv ( ) : Record < string , string > {
1584- const $env = {
1585- NODE_ENV : stdEnv . NODE_ENV ,
1586- NODE_EXTRA_CA_CERTS : stdEnv . NODE_EXTRA_CA_CERTS ,
1587- OTEL_EXPORTER_OTLP_ENDPOINT : stdEnv . OTEL_EXPORTER_OTLP_ENDPOINT ,
1588- } ;
1589-
1590- // Filter out undefined values
1591- return Object . fromEntries (
1592- Object . entries ( $env ) . filter ( ( [ key , value ] ) => value !== undefined )
1593- ) as Record < string , string > ;
1594- }
1595-
15961583async function loadWorkerManifest ( ) {
15971584 const manifest = await readJSONFile ( "./index.json" ) ;
15981585 return WorkerManifest . parse ( manifest ) ;
You can’t perform that action at this time.
0 commit comments