diff --git a/src/services/chart/entities.ts b/src/services/chart/entities.ts index 14fd3adba0..e3d5e6f8c6 100644 --- a/src/services/chart/entities.ts +++ b/src/services/chart/entities.ts @@ -2,6 +2,7 @@ import Chart from './core'; export const entities = Object.values(require('require-all')({ dirname: __dirname + '/charts/schemas', + filter: /^.+\.[jt]s$/, resolve: (x: any) => { return Chart.schemaToEntity(x.name, x.schema); }