Skip to content

Commit

Permalink
fix: cwd
Browse files Browse the repository at this point in the history
  • Loading branch information
giladgd committed Apr 4, 2022
1 parent 270a0ed commit 5ebce9a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/commands/AddReferencesCommand.ts
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ export class AddReferencesCommand implements yargs.CommandModule<object, command
}

async handler(args: commandArgs) {
const cwd = this.cwd;
const cwd = this.cwd ?? process.cwd();
let addedMigrationFiles: string[] = [];
let addedEntityFiles: string[] = [];
let addedSubscriberFiles: string[] = [];
Expand Down

0 comments on commit 5ebce9a

Please sign in to comment.