We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 270a0ed commit 5ebce9aCopy full SHA for 5ebce9a
src/commands/AddReferencesCommand.ts
@@ -51,7 +51,7 @@ export class AddReferencesCommand implements yargs.CommandModule<object, command
51
}
52
53
async handler(args: commandArgs) {
54
- const cwd = this.cwd;
+ const cwd = this.cwd ?? process.cwd();
55
let addedMigrationFiles: string[] = [];
56
let addedEntityFiles: string[] = [];
57
let addedSubscriberFiles: string[] = [];
0 commit comments