Skip to content

The --json2ts-cmd option should not be validated via 'shutil.which' #26

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

Merged

Conversation

phillipdupuis
Copy link
Owner

This validation should not be applied if the provided command contains spaces (ex: 'yarn json2ts').

In those cases we will just attempt to run it, and if the command fails we will raise a RuntimeError noting that.

phillipdupuis and others added 2 commits August 29, 2022 21:02
…f it contains spaces (ex: 'yarn json2ts').

In those cases we will just attempt to run it, and if the command fails we will raise a RuntimeError noting that.
@phillipdupuis phillipdupuis merged commit 83ec9e9 into master Aug 30, 2022
@phillipdupuis phillipdupuis deleted the bugfix/shutil-which-check-incorrectly-halts-program branch August 30, 2022 01:16
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.

1 participant