Permalink
Browse files

fix(Wetland): fix regex to also import entities ending with "d"

  • Loading branch information...
Rawphs committed Oct 4, 2018
1 parent 90e3197 commit 15fb17b4a28d50cc34dc7c08525239f91b764ad9
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/Wetland.ts
@@ -13,7 +13,7 @@ import { Populate } from './Populate';
import { Seeder } from './Seeder';
import { Cleaner } from './Cleaner';
export const entityFilterRegexp = /^.*[^d]\.(js|ts)$/;
export const entityFilterRegexp = /^(?!.*index\.(js|ts)$).*(^.?|\.[^d]|[^.]d|[^.][^d])\.(js|ts)$/;
export const entityExtensionRegexp = /\.(js|ts)$/;
export class Wetland {

0 comments on commit 15fb17b

Please sign in to comment.