mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 18:12:04 +00:00
fix(core): Support task runner in execute and execute-batch commands (#15147)
This commit is contained in:
@@ -68,6 +68,8 @@ export class Start extends BaseCommand {
|
||||
|
||||
override needsCommunityPackages = true;
|
||||
|
||||
override needsTaskRunner = true;
|
||||
|
||||
private getEditorUrl = () => Container.get(UrlService).getInstanceBaseUrl();
|
||||
|
||||
/**
|
||||
@@ -234,13 +236,6 @@ export class Start extends BaseCommand {
|
||||
await this.generateStaticAssets();
|
||||
}
|
||||
|
||||
const { taskRunners: taskRunnerConfig } = this.globalConfig;
|
||||
if (taskRunnerConfig.enabled) {
|
||||
const { TaskRunnerModule } = await import('@/task-runners/task-runner-module');
|
||||
const taskRunnerModule = Container.get(TaskRunnerModule);
|
||||
await taskRunnerModule.start();
|
||||
}
|
||||
|
||||
await this.loadModules();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user