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

Bandaid fix for single quotes in command args #6936

Merged

Conversation

sovdeeth
Copy link
Member

Description

Manually escapes single quotes in the generated command usage message to avoid errors when trying to use single quotes as command arguments. The fix is a bandaid as there are many more problems with command parsing/argument parsing that should be addressed: command test %now% being a good example. This can come in a later pr.


Target Minecraft Versions: any
Requirements: none
Related Issues: none

@sovdeeth sovdeeth added the bug An issue that needs to be fixed. Alternatively, a PR fixing an issue. label Jul 21, 2024
@sovdeeth sovdeeth added the 2.9 Targeting a 2.9.X version release label Jul 31, 2024
@APickledWalrus APickledWalrus merged commit 4ed30cd into SkriptLang:dev/patch Aug 16, 2024
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
2.9 Targeting a 2.9.X version release bug An issue that needs to be fixed. Alternatively, a PR fixing an issue.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants