Github user vladimir-kotikov commented on a diff in the pull request:
https://github.com/apache/cordova-lib/pull/353#discussion_r48008986
--- Diff: cordova-lib/src/hooks/HooksRunner.js ---
@@ -87,6 +93,12 @@ module.exports = HooksRunner;
*/
module.exports.fire = globalFire;
function globalFire(hook, opts) {
+ if (isHookDisabled(opts, hook)) {
+ /* jshint -W064 */
--- End diff --
Just a minor nit: do we need for this ignores? We don't have neither
'strict mode' nor JSHint `newcap` option enabled, so this is probably just a
no-op.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]