Skip to content

Use nameof on arguments for Ensure - #2143

Open
jkrejcha wants to merge 1 commit into
libgit2:masterfrom
jkrejcha:20250212-use-nameof-where-parameter-name-expected
Open

Use nameof on arguments for Ensure#2143
jkrejcha wants to merge 1 commit into
libgit2:masterfrom
jkrejcha:20250212-use-nameof-where-parameter-name-expected

Conversation

@jkrejcha

Copy link
Copy Markdown

Generally where parameter names are mentioned, it's a best practice to use
the nameof() expression. This patch adds it where stringified names were
being used.

@jkrejcha jkrejcha changed the title Chore: use nameof on arguments for Ensure Feb 12, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

1 participant