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

Fix: deprecated filter warning message #168

Conversation

granddaifuku
Copy link
Contributor

Overview

Currently, a warning message about the deprecated filter get is displayed as follows:

warning: use of deprecated filter `get` in [templates], please use the `?.` operator instead.
For example: `{{ hooks | get: "pre" | nl }}` can be written `{{ hook?.pre | nl }}`

However, I believe {{ hooks | get: "pre" | nl }} can be converted to {{ hooks?.pre | nl }} (not hook but hooks), and I've made this adjustment.

By the way, thank you for the fantastic shell plugin manager!

@rossmacarthur rossmacarthur merged commit 2956212 into rossmacarthur:trunk Dec 11, 2023
12 checks passed
@rossmacarthur
Copy link
Owner

Thanks! My bad

@granddaifuku granddaifuku deleted the fix/deprecated-filter-get-warning branch December 16, 2023 10:19
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