Skip to content

Commit

Permalink
feat: update
Browse files Browse the repository at this point in the history
  • Loading branch information
nailiable committed Oct 20, 2024
1 parent a29d312 commit 6e03afb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dev-packages/cli-common/src/hook/hook-executor.ts
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ export class HookExecutor {
return obj.default;
} else if (typeof obj === 'object' && typeof obj.default === 'function') {
return obj;
} else {return obj; }
} else return obj;
}

protected async doRequire(context: CliContext, path: string, stage: HookStage = HookStage.on) {
Expand Down

0 comments on commit 6e03afb

Please sign in to comment.