Skip to content

Commit

Permalink
fix: subscribers should use the subscribersDir
Browse files Browse the repository at this point in the history
accidentally pulled over the entitiesDir instead - this fixes the
subscribers generation command writing to the correct directory
  • Loading branch information
imnotjames committed Oct 1, 2020
1 parent 0221a93 commit 5ef9450
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/commands/SubscriberCreateCommand.ts
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ export class SubscriberCreateCommand implements yargs.CommandModule {
configName: args.config as any
});
const connectionOptions = await connectionOptionsReader.get(args.connection as any);
directory = connectionOptions.cli ? (connectionOptions.cli.entitiesDir || "") : "";
directory = connectionOptions.cli ? (connectionOptions.cli.subscribersDir || "") : "";
} catch (err) { }
}

Expand Down

0 comments on commit 5ef9450

Please sign in to comment.