This PR adds the possibility to create a hook with the name of the hook type. Before this change, the resulting filename would be .js since we were removing the hook type from its name (not sure why as there seems to be no impact of doing so).
e.g. Creating an after_incoming_middleware hook named: after_incoming_middleware.js
This PR adds the possibility to create a hook with the name of the hook type. Before this change, the resulting filename would be .js since we were removing the hook type from its name (not sure why as there seems to be no impact of doing so).
e.g. Creating an after_incoming_middleware hook named: after_incoming_middleware.js
Same changes as this PR: https://github.com/botpress/botpress/pull/11698