Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(web-extract): optimize script_get_all_texts.ts #121

Merged
merged 1 commit into from
Oct 14, 2024

Conversation

YadlaMani
Copy link
Contributor

Improved
Error Handling: Added try-catch blocks around the extraction logic to catch potential errors.
Warning messages: Replaced general console.log messages with console.warn for better clarity in non-critical warnings.
Improved readability: Refactored code to improve readability, with consistent naming, and separated concerns within functions.
Additional null checks: Enhanced the checks for DOM existence and element validity.

@CLAassistant
Copy link

CLAassistant commented Oct 13, 2024

CLA assistant check
All committers have signed the CLA.

Copy link

netlify bot commented Oct 13, 2024

Deploy Preview for midscene ready!

Name Link
🔨 Latest commit 5ea4833
🔍 Latest deploy log https://app.netlify.com/sites/midscene/deploys/670bdc47f4fef500088a4f31
😎 Deploy Preview https://deploy-preview-121--midscene.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@zhoushaw zhoushaw changed the title Update script_get_all_texts.ts chore(web-extract): optimize script_get_all_texts.ts Oct 14, 2024
@zhoushaw zhoushaw merged commit 8c3c7e5 into web-infra-dev:main Oct 14, 2024
9 checks passed
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.

3 participants