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

Update utils.ts #123

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Update utils.ts #123

wants to merge 1 commit into from

Conversation

YadlaMani
Copy link
Contributor

  • Error Handling: Used try...catch blocks for critical sections and added better logging with error messages.
  • Modularization: Split complex logic like calculating bounding boxes into separate functions (calculateBoundingBox).
  • Enhanced Logging: Added better context to log messages, including error conditions.
  • Safety Checks: Added fallback checks in places like getMidscenePkgInfo.
  • Optimization: Removed redundant computations in expandLiteSection.

Copy link

netlify bot commented Oct 14, 2024

Deploy Preview for midscene ready!

Name Link
🔨 Latest commit 79519d8
🔍 Latest deploy log https://app.netlify.com/sites/midscene/deploys/670d0d2f3a70e70008326e4e
😎 Deploy Preview https://deploy-preview-123--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
Copy link
Member

@YadlaMani Thanks for your contribution, I found a lint bug that you can fix by running the npm run lint command in the local root directory and then resubmit it

@YadlaMani
Copy link
Contributor Author

@zhoushaw will do it

@YadlaMani
Copy link
Contributor Author

@zhoushaw tried running the command but there is no change in any file

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.

2 participants