Skip to content

Commit d08b5b9

Browse files
committed
better error message
1 parent fc7647f commit d08b5b9

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/extensions/functions/checkRequirement.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,8 @@ module.exports = async (
131131
return addFailure(rule.error || failMessage)
132132
}
133133
} else {
134-
return addFailure(`Custom plugin not found with name ${rule.plugin} & ${rule.name}`)
134+
135+
return addFailure(`NOT FOUND: Custom rule from '${rule.plugin}' plugin with check function '${rule.name}'`)
135136
}
136137
default:
137138
return addFailure('Encountered unknown rule')

0 commit comments

Comments
 (0)