Skip to content

Commit a2b13c9

Browse files
committed
fix: show the full path to the hook in warning message
1 parent 7fe6d6f commit a2b13c9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/common/services/hooks-service.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ export class HooksService implements IHooksService {
120120
const invalidArguments = this.validateHookArguments(hookEntryPoint);
121121

122122
if (invalidArguments.length) {
123-
this.$logger.warn(`${hookName} will NOT be executed because it has invalid arguments - ${invalidArguments.join(", ").grey}.`);
123+
this.$logger.warn(`${hook.fullPath} will NOT be executed because it has invalid arguments - ${invalidArguments.join(", ").grey}.`);
124124
continue;
125125
}
126126

0 commit comments

Comments
 (0)