fix(core): register task timings correctly in task profiling life cycle (#16801)

This commit is contained in:
Leosvel Pérez Espinosa 2023-05-05 16:00:46 +01:00 committed by GitHub
parent c55630b4d6
commit 1d8be1c999
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -26,7 +26,7 @@ export class TaskProfilingLifeCycle implements LifeCycle {
this.registerGroup(groupId);
}
for (let t of tasks) {
this.timings[`${t.target.project}:${t.target.target}`] = {
this.timings[t.id] = {
perfStart: performance.now(),
};
}