fix: Update hooks generator to point to ./dist/hooks instead of ./src/hooks
MODIFY
src/generators/hook.ts
src/generators/hook.ts
@@ -38,7 +38,7 @@ export default class Hook extends Generator {
this.pjson.oclif = this.pjson.oclif || {}
this.pjson.oclif.hooks = this.pjson.oclif.hooks || {}
const hooks = this.pjson.oclif.hooks
- const p = `./src/hooks/${this.options.event}/${this.options.name}`
+ const p = `./dist/hooks/${this.options.event}/${this.options.name}`
if (hooks[this.options.event]) {
hooks[this.options.event] = _.castArray(hooks[this.options.event])
hooks[this.options.event] = hooks[this.options.event].concat(p)

fix: Update hooks generator to point to ./dist/hooks instead of ./src/hooks (#904)