File tree Expand file tree Collapse file tree 1 file changed +4
-9
lines changed
packages/cli-v3/src/entryPoints Expand file tree Collapse file tree 1 file changed +4
-9
lines changed Original file line number Diff line number Diff line change @@ -1439,7 +1439,7 @@ class ManagedRunController {
14391439 await this . taskRunProcess ?. cancel ( ) ;
14401440 }
14411441
1442- async start ( ) {
1442+ start ( ) {
14431443 this . sendDebugLog ( {
14441444 runId : this . runFriendlyId ,
14451445 message : "Starting up" ,
@@ -1478,12 +1478,7 @@ class ManagedRunController {
14781478 }
14791479}
14801480
1481- const workerManifest = await loadWorkerManifest ( ) ;
1481+ const manifest = await readJSONFile ( "./index.json" ) ;
1482+ const workerManifest = WorkerManifest . parse ( manifest ) ;
14821483
1483- const prodWorker = new ManagedRunController ( { workerManifest } ) ;
1484- await prodWorker . start ( ) ;
1485-
1486- async function loadWorkerManifest ( ) {
1487- const manifest = await readJSONFile ( "./index.json" ) ;
1488- return WorkerManifest . parse ( manifest ) ;
1489- }
1484+ new ManagedRunController ( { workerManifest } ) . start ( ) ;
You can’t perform that action at this time.
0 commit comments