mirror of
https://github.com/n8n-io/n8n
synced 2026-04-21 15:47:20 +00:00
13 lines
488 B
TypeScript
13 lines
488 B
TypeScript
import type { ModuleInterface } from '@n8n/decorators';
|
|
import { BackendModule } from '@n8n/decorators';
|
|
import { Container } from '@n8n/di';
|
|
|
|
@BackendModule({ name: 'source-control', licenseFlag: 'feat:sourceControl' })
|
|
export class SourceControlModule implements ModuleInterface {
|
|
async init() {
|
|
await import('./source-control.controller.ee');
|
|
|
|
const { SourceControlService } = await import('./source-control.service.ee');
|
|
await Container.get(SourceControlService).start();
|
|
}
|
|
}
|