Skip to content

Commit

Permalink
feat(src): drop time sync from plugins after exec
Browse files Browse the repository at this point in the history
  • Loading branch information
narekhovhannisyan committed Jul 31, 2024
1 parent e53e9fe commit de4866d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/if-run/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,10 @@ const impactEngine = async () => {
timeSync: context['time-sync'],
});

if (context['time-sync']) {
delete context.initialize.plugins['time-sync'];
}

if (context.aggregation) {
storeAggregationMetrics({metrics: context.aggregation?.metrics});
}
Expand Down

0 comments on commit de4866d

Please sign in to comment.