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

remove shell-quote and switch to spawn #23

Open
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

Ethan-Arrowood
Copy link
Contributor

I noticed a bug in this when you pass a command like echo foo && next build it would fail because of the command parsing/handling. It is simply easier to use execSync instead.

@Ethan-Arrowood Ethan-Arrowood changed the title remove shell-quote and switch to execsync remove shell-quote and switch to spawn Mar 12, 2025
@Ethan-Arrowood
Copy link
Contributor Author

I tested this manually by setting buildCommand: 'echo foobar && npx next build' and it correctly printed foobar to stdout and then did the next build.

Co-authored-by: Chris Barber <chris@cb1inc.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants