Skip to content

Commit

Permalink
Updated wording for get users helper
Browse files Browse the repository at this point in the history
refs TryGhost#144

- Updates wording for {{#get "userss"}} helper which will no longer return any data
  • Loading branch information
naz committed Sep 16, 2019
1 parent da51c0a commit 5239a62
Showing 1 changed file with 1 addition and 1 deletion.
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

0 comments on commit 5239a62

Please sign in to comment.