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

(#577) Tilde expand context paths #580

Merged
merged 1 commit into from
Oct 9, 2024
Merged

Conversation

ploubser
Copy link
Collaborator

@ploubser ploubser commented Oct 9, 2024

Here we move tilde expansion to be as late as possible.

This prevents cli actions like nats context edit from rewriting the value of the path to file, and instead only expanding the tilde when needed.

natscontext/context.go Outdated Show resolved Hide resolved
Here we move tilde expansion to be as late as possible.

This prevents cli actions like `nats context edit` from rewriting
the value of the path to file, and instead only expanding the tilde
when needed.
@ripienaar ripienaar merged commit a4b8b81 into nats-io:main Oct 9, 2024
2 checks passed
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.

2 participants