Skip to content

Commit 69db60d

Browse files
Rename variable for consistency in helper handling because supportedH… (#4843)
* Rename variable for consistency in helper handling because supportedHelpers is no longer available. * Apply suggestions from code review --------- Co-authored-by: Michael Bodnarchuk <[email protected]>
1 parent 04c06d1 commit 69db60d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/plugin/autoDelay.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,13 +52,13 @@ const defaultConfig = {
5252
*
5353
*/
5454
module.exports = function (config) {
55-
supportedHelpers.push('REST')
55+
const affectedHelpers = [...standardActingHelpers, 'REST']
5656
const helpers = Container.helpers()
5757
let helper
5858

5959
config = Object.assign(defaultConfig, config)
6060

61-
for (const helperName of supportedHelpers) {
61+
for (const helperName of affectedHelpers) {
6262
if (Object.keys(helpers).indexOf(helperName) > -1) {
6363
helper = helpers[helperName]
6464
}

0 commit comments

Comments
 (0)