@alevnyacow/nzmt 0.9.0 → 0.9.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bin/cli.js +1 -1
- package/package.json +1 -1
package/bin/cli.js
CHANGED
|
@@ -95,7 +95,7 @@ function createDefaultConfig() {
|
|
|
95
95
|
const withSrcFolder = folders.includes('src')
|
|
96
96
|
const coreFolder = withSrcFolder ? './src' : '.'
|
|
97
97
|
|
|
98
|
-
const prismaClientPathOption = [entityName, ...options].find(x => x.startsWith('prismaClientPath:'))
|
|
98
|
+
const prismaClientPathOption = [entityName, ...options].filter(x => typeof x === 'string').find(x => x.startsWith('prismaClientPath:'))
|
|
99
99
|
|
|
100
100
|
let prismaClientPath = prismaClientPathOption ? prismaClientPathOption.split(':')[1] : undefined
|
|
101
101
|
|