Skip to content
This repository has been archived by the owner on Jan 11, 2023. It is now read-only.

feature: handle command arguments with spaces #339

Open
erezrokah opened this issue Jul 8, 2021 · 0 comments
Open

feature: handle command arguments with spaces #339

erezrokah opened this issue Jul 8, 2021 · 0 comments
Labels
type: feature code contributing to the implementation of a feature and/or user facing functionality

Comments

@erezrokah
Copy link
Contributor

erezrokah commented Jul 8, 2021

Which problem is this feature request solving?

At the moment we return a dev/build command as a single string, e.g. npm run <some-script>.
This might cause issues if <some-script> contains spaces.
We should support this use case.

Related to netlify/cli#2857 (comment)

Describe the solution you'd like

Handle spaces in command arguments, via quoting the arguments or escaping the spaces.

Describe alternatives you've considered

N/A

Can you submit a pull request?

Yes

@erezrokah erezrokah added the type: feature code contributing to the implementation of a feature and/or user facing functionality label Jul 8, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
type: feature code contributing to the implementation of a feature and/or user facing functionality
Projects
None yet
Development

No branches or pull requests

1 participant