Skip to content

Commit

Permalink
fix: update perf marker
Browse files Browse the repository at this point in the history
  • Loading branch information
mdonnalley committed Feb 15, 2024
1 parent 75b3423 commit 0073a78
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/config/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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))
Expand Down

0 comments on commit 0073a78

Please sign in to comment.