Skip to content

Commit 06b39f3

Browse files
author
DavertMik
committed
fixed check command
1 parent 400059c commit 06b39f3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/command/check.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ module.exports = async function (options) {
9292
if (!Object.keys(helpers).length) throw new Error('No helpers found')
9393
// load helpers
9494
for (const helper of Object.values(helpers)) {
95-
helper._init()
95+
if (helper._init) helper._init()
9696
}
9797
checks.helpers = true
9898
} catch (err) {

0 commit comments

Comments
 (0)