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

[BUG Fix] Fixes paths which may contains spaces #34

Merged
merged 1 commit into from
Jun 19, 2022

Conversation

TerminalFi
Copy link
Contributor

What

Paths which contain spaces break the exec command since the paths are not escaped and they are treated as separate strings.

@Beaglefoot
Copy link
Owner

@TheSecEng Thanks for providing a fix, but I'd like to avoid adding new dependencies. Could you just revert the last commit and git push -f?

As for prefixes, the current approach uses prettier if it's available on PATH env variable. And this should work on windows as well.

@TerminalFi
Copy link
Contributor Author

@Beaglefoot will close this. This is the wrong changes ! Sorry

@TerminalFi
Copy link
Contributor Author

Should be good now

@Beaglefoot
Copy link
Owner

@TheSecEng Ok let me help you.

You are currently 3 commits ahead of master. These are:

  1. 7e4e62f
  2. fb6a31d
  3. b26715c (the one we are interested in)

To avoid adding unnecessary changes you need to do the following:

  1. git reset --hard b26715cb66d757d7a0f0bd0d94a72c7cd103b490
  2. git push -f

This completely removes the last 2 commits and updates current PR.

@TerminalFi
Copy link
Contributor Author

Sorry I was a bit out of it yesterday

@Beaglefoot Beaglefoot self-assigned this Jun 19, 2022
@Beaglefoot Beaglefoot merged commit 75c0a5c into Beaglefoot:master Jun 19, 2022
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.

None yet

2 participants