Skip to content

Commit

Permalink
fix(cli): do not require existing entities in generate-entities command
Browse files Browse the repository at this point in the history
Closes #340
  • Loading branch information
Martin Adamek committed Feb 19, 2020
1 parent 8868548 commit 4d5853f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/cli/CLIHelper.ts
Expand Up @@ -35,7 +35,7 @@ export class CLIHelper {
}

static async getORM(warnWhenNoEntities?: boolean): Promise<MikroORM> {
const options = await CLIHelper.getConfiguration();
const options = await CLIHelper.getConfiguration(warnWhenNoEntities);
const settings = await CLIHelper.getSettings();
options.getLogger().setDebugMode(false);

Expand Down

0 comments on commit 4d5853f

Please sign in to comment.