Skip to content

Commit

Permalink
Apply formatting changes
Browse files Browse the repository at this point in the history
  • Loading branch information
colingm committed May 1, 2024
1 parent 084258f commit 0538b09
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion packages/rrweb/src/record/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,9 @@ function record<T = eventWithTime>(
throw new Error('emit function is required');
}
if (!inEmittingFrame && !passEmitsToParent) {
return () => { /* no-op since in this case we don't need to record anything from this frame in particular */ };
return () => {
/* no-op since in this case we don't need to record anything from this frame in particular */
};
}
// move departed options to new options
if (mousemoveWait !== undefined && sampling.mousemove === undefined) {
Expand Down

0 comments on commit 0538b09

Please sign in to comment.