@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.
Files changed (2) hide show
  1. package/bin/cli.js +1 -1
  2. 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
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alevnyacow/nzmt",
3
- "version": "0.9.0",
3
+ "version": "0.9.1",
4
4
  "description": "Next Zod Modules Toolkit",
5
5
  "repository": {
6
6
  "type": "git",