Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(cli): Support passing numeric args to prisma #11948

Merged
merged 1 commit into from
Feb 6, 2025

Conversation

Tobbe
Copy link
Member

@Tobbe Tobbe commented Feb 6, 2025

Without this fix you couldn't set a custom port for prisma studio

yarn rw prisma studio --port 8917
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
TypeError: value.split is not a function
    at handler (/Users/tobbe/tmp/rw-prisma-studio-port/node_modules/@redwoodjs/cli/dist/commands/prismaHandler.js:76:13)
    at Object.handler (/Users/tobbe/tmp/rw-prisma-studio-port/node_modules/@redwoodjs/cli/dist/commands/prisma.js:46:10)
    at async runYargs (/Users/tobbe/tmp/rw-prisma-studio-port/node_modules/@redwoodjs/cli/dist/index.js:153:3)
    at async /Users/tobbe/tmp/rw-prisma-studio-port/node_modules/@redwoodjs/cli/dist/index.js:105:7
    at async main (/Users/tobbe/tmp/rw-prisma-studio-port/node_modules/@redwoodjs/cli/dist/index.js:94:3)

@Tobbe Tobbe added the release:fix This PR is a fix label Feb 6, 2025
@Tobbe Tobbe added this to the next-release-patch milestone Feb 6, 2025
@Tobbe Tobbe added the changesets-ok Override the changesets check label Feb 6, 2025
@Tobbe Tobbe enabled auto-merge (squash) February 6, 2025 21:26
@Tobbe Tobbe merged commit 1f952b7 into redwoodjs:main Feb 6, 2025
52 of 59 checks passed
@Tobbe Tobbe deleted the tobbe-prisma-numeric-args branch February 6, 2025 21:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
changesets-ok Override the changesets check release:fix This PR is a fix
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant