diff --git a/src/commands/AddReferencesCommand.ts b/src/commands/AddReferencesCommand.ts index 4e3f7ef..2e83f08 100644 --- a/src/commands/AddReferencesCommand.ts +++ b/src/commands/AddReferencesCommand.ts @@ -10,6 +10,11 @@ export class AddReferencesCommand implements yargs.CommandModule [options]`) @@ -46,8 +51,8 @@ export class AddReferencesCommand implements yargs.CommandModule { - const cwd = this.cwd ?? process.cwd(); + async handler(args: commandArgs) { + const cwd = this.cwd; let addedMigrationFiles: string[] = []; let addedEntityFiles: string[] = []; let addedSubscriberFiles: string[] = [];