diff --git a/index.ts b/index.ts index 4a9f866..ce58672 100644 --- a/index.ts +++ b/index.ts @@ -49,7 +49,7 @@ import update from './modules/module.updater'; await service.cli(); } } else { - let service = argv.service === 'funi' ? new (await import('./funi')).default() : new (await import('./crunchy')).default() as ServiceClass; + const service = argv.service === 'funi' ? new (await import('./funi')).default() : new (await import('./crunchy')).default() as ServiceClass; await service.cli(); } })(); \ No newline at end of file