Skip to content

Commit

Permalink
fix: IS_PROD check corrected
Browse files Browse the repository at this point in the history
  • Loading branch information
kormanowsky committed Dec 19, 2024
1 parent 5bc1593 commit b6b4efd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/performance/measure/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ export function wrapWithMeasurement<TThis = unknown, TArgs extends unknown[] = u
measurement: string | ((this: TThis, ...args: TArgs) => CanNull<string>),
original: (this: TThis, ...args: TArgs) => TResult
): (this: TThis, ...args: TArgs) => TResult {
if (!IS_PROD) {
if (IS_PROD) {
return original;
}

Expand Down

0 comments on commit b6b4efd

Please sign in to comment.