Skip to content
Merged
3 changes: 2 additions & 1 deletion src/cli.ts
Original file line number Diff line number Diff line change
Expand Up @@ -94,13 +94,14 @@ const run = async (): Promise<Result<void, Failure[]>> => {
return config;
}
const executor = new Executor(
config.value,
logger,
workerPool,
cache,
options.failureMode,
abort
);
const result = await executor.getExecution(config.value).execute();
const result = await executor.execute();
if (!result.ok) {
return result;
}
Expand Down
2 changes: 1 addition & 1 deletion src/execution/base.ts
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ export abstract class BaseExecutionWithCommand<
* Resolves when any of the services this script depends on have terminated
* (see {@link ServiceScriptExecution.terminated} for exact definiton).
*/
readonly anyServiceTerminated = Promise.race(
protected readonly _anyServiceTerminated = Promise.race(
this._config.services.map(
(service) => this._executor.getExecution(service).terminated
)
Expand Down
Loading