Skip to content

Commit

Permalink
feat: allow files ending with Controller.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
Jnig committed Jan 9, 2022
1 parent 26bc749 commit df3f46c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/cli/src/helper/generateMeta.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import { getControllerFunctions } from './getControllerFunctions.js';

export async function generateMeta() {
const config = await getConfig();
const controllers = await fg(join(config.entry, '/**/*.controller.ts'), {
const controllers = await fg(join(config.entry, '/**/*[cC]ontroller.ts'), {
absolute: true,
markDirectories: true,
});
Expand Down

0 comments on commit df3f46c

Please sign in to comment.