Skip to content

Fix typo in variable reference#1332

Merged
matux merged 1 commit into
masterfrom
matux/fix-typo
Sep 30, 2025
Merged

Fix typo in variable reference#1332
matux merged 1 commit into
masterfrom
matux/fix-typo

Conversation

@matux

@matux matux commented Sep 30, 2025

Copy link
Copy Markdown
Contributor

Description of the change

This pull request introduces a minor fix to the Recorder class in src/browser/replay/recorder.js. The change ensures that the readiness check uses the correct property name, improving reliability in snapshot event handling.

  • Changed the condition in the emit callback to use this._isReady instead of this._ready for tracking readiness when a FullSnapshot event occurs.

Type of change

  • Bug fix (non-breaking change that fixes an issue)
  • New feature (non-breaking change that adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Maintenance
  • New release

@matux matux requested review from Copilot and waltjones September 30, 2025 00:29

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR fixes a typo in the Recorder class where a readiness check was using an incorrect property name. The fix ensures that the condition properly references the _isReady property instead of the non-existent _ready property.

  • Fixed variable reference from this._ready to this._isReady in the emit callback condition

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

@matux matux merged commit 9ce7947 into master Sep 30, 2025
4 checks passed
@matux matux deleted the matux/fix-typo branch September 30, 2025 10:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants