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

quitcd: fix range limits for new nushell version #1890

Merged
merged 2 commits into from
Jun 3, 2024

Conversation

BeyondMagic
Copy link
Contributor

Last version of nushell changed the way ranges work, so the command str substring 4..-1 isn't behaving the way it was anymore.

@N-R-K
Copy link
Collaborator

N-R-K commented May 27, 2024

Won't this break for people who have older nushell versions or is the new patch backwards compatible? If it's not backwards compatible, then please document the minimum required version in the comment at the top of the file.

misc/quitcd/quitcd.nu Outdated Show resolved Hide resolved
@BeyondMagic
Copy link
Contributor Author

Won't this break for people who have older nushell versions or is the new patch backwards compatible?

No; not in the way it is coded right now.

@BeyondMagic
Copy link
Contributor Author

Resolved with backwards compatibility and fixed trimming issue.

@jarun jarun merged commit e0685e9 into jarun:master Jun 3, 2024
7 checks passed
@jarun
Copy link
Owner

jarun commented Jun 3, 2024

Thank you!

@github-actions github-actions bot locked and limited conversation to collaborators Dec 19, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants