Skip to content

Conversation

@selcuk
Copy link
Contributor

@selcuk selcuk commented Feb 28, 2025

Safer check for a trailing semicolon that could handle empty strings as well.

Description

Improved trailing semicolon check that could handle empty strings as well.

Fixes #3308

Type of change

Please delete options that are not relevant.

  • Bug fix (non-breaking change which fixes an issue)

How Has This Been Tested?

Does This PR Require a Core Repo Change?

  • No.

Checklist:

See contributing.md for styleguide, changelog guidelines, and more.

  • Followed the style guidelines of this project
  • Changelogs have been updated
  • Unit tests have been added
  • Documentation has been updated

Safer check for a trailing semicolon that could handle
empty strings as well.
@selcuk selcuk requested a review from a team as a code owner February 28, 2025 05:33
@linux-foundation-easycla
Copy link

linux-foundation-easycla bot commented Feb 28, 2025

CLA Signed

The committers listed above are authorized under a signed CLA.

Copy link
Contributor

@xrmx xrmx left a comment

Choose a reason for hiding this comment

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

LGTM, Could you please add a test case so we can avoid regressions in the future?

@xrmx xrmx moved this to Reviewed PR that needs fixing in @xrmx's Python PR digest Feb 28, 2025
@selcuk
Copy link
Contributor Author

selcuk commented Mar 8, 2025

Sure thing, just added one.

Copy link
Contributor

@tammy-baylis-swi tammy-baylis-swi left a comment

Choose a reason for hiding this comment

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

Lgtm too, please resolve the merge conflict.

@xrmx xrmx enabled auto-merge (squash) March 13, 2025 11:04
@xrmx xrmx merged commit 3c88163 into open-telemetry:main Mar 13, 2025
712 checks passed
@github-project-automation github-project-automation bot moved this from Reviewed PR that needs fixing to Done in @xrmx's Python PR digest Mar 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

Traceback in SQL Commenter when an empty string is encountered

3 participants