Skip to content

💄 Updated wording for get users helper #256

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

Merged
merged 1 commit into from
Sep 16, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion lib/specs/v2.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ let rules = {
'GS001-DEPR-USER-GET': {
level: 'error',
rule: `<code>{{#get "users"}}</code> should be replaced with <code>{{#get "authors"}}</code>`,
details: oneLineTrim`The usage of <code>{{#get "users"}}</code> is deprecated and should be replaced with <code>{{#get "authors"}}</code>.<br>
details: oneLineTrim`The usage of <code>{{#get "users"}}</code> is deprecated and will not return any data. It should be replaced with <code>{{#get "authors"}}</code>.<br>
Find more information about the <code>{{get}}</code> helper <a href="${docsBaseUrl}helpers/get/" target=_blank>here</a>.`,
regex: /{{\s*?#get ("|')\s*users("|')\s*/g,
helper: '{{#get "users"}}'
Expand Down