From 5239a62612ab88e7a98820ca36584a350e895331 Mon Sep 17 00:00:00 2001 From: Nazar Gargol Date: Mon, 16 Sep 2019 15:27:50 +0200 Subject: [PATCH] Updated wording for get users helper refs #144 - Updates wording for {{#get "userss"}} helper which will no longer return any data --- lib/specs/v2.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/specs/v2.js b/lib/specs/v2.js index fad6a753..a5155bd3 100644 --- a/lib/specs/v2.js +++ b/lib/specs/v2.js @@ -18,7 +18,7 @@ let rules = { 'GS001-DEPR-USER-GET': { level: 'error', rule: `{{#get "users"}} should be replaced with {{#get "authors"}}`, - details: oneLineTrim`The usage of {{#get "users"}} is deprecated and should be replaced with {{#get "authors"}}.
+ details: oneLineTrim`The usage of {{#get "users"}} is deprecated and will not return any data. It should be replaced with {{#get "authors"}}.
Find more information about the {{get}} helper here.`, regex: /{{\s*?#get ("|')\s*users("|')\s*/g, helper: '{{#get "users"}}'