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

SkriptCommand - fix test command again #7390

Merged

Conversation

ShaneBeee
Copy link
Contributor

@ShaneBeee ShaneBeee commented Jan 5, 2025

Description

This PR aims to fix the /sk test command yet again.
I recently realized the tab completion worked, but I was not able to actually test just one file/folder, it kept saying said file didnt exist.
I then looked over the code and realized I never actually passed the directory thru when looking for said script.
(its a mystery 🧐 how I never caught this before)
I had to add another method to allow passing the directory thru without breaking previous methods.

I also fixed an issue where the /sk test/reload commands both showed the same directories/files.
Now it will show the correct directories whether you're running reload or test.


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

@sovdeeth sovdeeth added bug An issue that needs to be fixed. Alternatively, a PR fixing an issue. 2.10 Targeting a 2.10.X version release labels Jan 5, 2025
@Moderocky Moderocky merged commit fde5de7 into SkriptLang:dev/feature Jan 5, 2025
5 checks passed
@ShaneBeee ShaneBeee deleted the shane/fix-test-command-again-omg branch January 5, 2025 09:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
2.10 Targeting a 2.10.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.

5 participants