From 0073a78bffa125a401a44de08c5d78a1b4969504 Mon Sep 17 00:00:00 2001 From: Mike Donnalley Date: Thu, 15 Feb 2024 15:49:25 -0700 Subject: [PATCH] fix: update perf marker --- src/config/config.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/config/config.ts b/src/config/config.ts index f039ff35d..2522cc29c 100644 --- a/src/config/config.ts +++ b/src/config/config.ts @@ -551,7 +551,7 @@ export class Config implements IConfig { const hooks = p.hooks[event] || [] for (const hook of hooks) { - const marker = Performance.mark(OCLIF_MARKER_OWNER, `config.runHook#${p.name}(${hook})`) + const marker = Performance.mark(OCLIF_MARKER_OWNER, `config.runHook#${p.name}(${hook.target})`) try { /* eslint-disable no-await-in-loop */ const {filePath, isESM, module} = await loadWithData(p, await tsPath(p.root, hook.target, p))