diff --git a/package.json b/package.json index 0a7e0ed..cc43621 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@extollo/lib", - "version": "0.10.3", + "version": "0.10.4", "description": "The framework library that lifts up your code.", "main": "lib/index.js", "types": "lib/index.d.ts", diff --git a/src/orm/services/Migrations.ts b/src/orm/services/Migrations.ts index cdc8e65..cc483ae 100644 --- a/src/orm/services/Migrations.ts +++ b/src/orm/services/Migrations.ts @@ -67,7 +67,7 @@ export class Migrations extends CanonicalInstantiable { const namespace: {[key: string]: Migration} = {} for await ( const entry of basePath.walk() ) { - if ( !entry.endsWith(this.suffix) ) { + if ( !this.isValidSuffix(entry) ) { this.logging.debug(`buildMigrationNamespaceResolver - Skipping file with invalid suffix: ${entry}`) continue }