@nextcode/postgres-migrator
Advanced tools
Comparing version 1.0.13 to 1.0.14
@@ -148,3 +148,3 @@ "use strict"; | ||
const version = fileName.split(/[-_]/)[0]; | ||
const name = fileName.substr(fileName.length + 1); | ||
const name = fileName.substr(version.length + 1); | ||
return Object.assign({ version, name }, require(`${path}/${fileName}`)); | ||
@@ -151,0 +151,0 @@ } |
{ | ||
"name": "@nextcode/postgres-migrator", | ||
"version": "1.0.13", | ||
"version": "1.0.14", | ||
"description": "Postgres migration package with zero dependencies", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
100135