Correct the implementaton of enabledHooksExist to return true if there are enabled hooks. Adapt callsites which used getHooksArrays() as workaround. PR-URL: https://github.com/nodejs/node/pull/61054 Fixes: https://github.com/nodejs/node/issues/61019 Refs: https://github.com/nodejs/node/pull/59873 Reviewed-By: Matteo Collina <matteo.collina@gmail.com> Reviewed-By: Gürgün Dayıoğlu <hey@gurgun.day> |
||
|---|---|---|
| .. | ||
| execution.js | ||
| finalization.js | ||
| per_thread.js | ||
| permission.js | ||
| pre_execution.js | ||
| promises.js | ||
| report.js | ||
| signal.js | ||
| task_queues.js | ||
| warning.js | ||
| worker_thread_only.js | ||