fix migration naming
This commit is contained in:
parent
7876b75afa
commit
91ae8d0061
@ -47,8 +47,8 @@ function assert (folder, args) {
|
||||
reason: 'name is not a string'
|
||||
},
|
||||
{
|
||||
f: () => ((/^(?:[0-9]+-[a-z]+|csv)$/iu).test (args[0])),
|
||||
reason: 'name has to match /^[0-9]+-[a-z]+$/'
|
||||
f: () => ((/^(?:[0-9]+[-_][a-z-_]+|csv)$/iu).test (args[0])),
|
||||
reason: 'name has to match /^[0-9]+[-_][a-z-_]+$/'
|
||||
},
|
||||
{
|
||||
f: () => (typeof folder === 'string'),
|
||||
|
Loading…
x
Reference in New Issue
Block a user