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

Fix annotate_one_file to avoid ignoring commented columns #1010

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

Conversation

oieioi
Copy link
Contributor

@oieioi oieioi commented Feb 16, 2024

Fixed an issue in annotate_one_file where columns with comments were being overlooked, leading to them being excluded from change detection.

The updated regular expression now correctly matches comment lines like the following. Previously, these comments weren't matching due to the (column comment) part.

# column_name(column comment)  :column_type  not null

@oieioi oieioi force-pushed the fix-commented-column-pattern branch from a0c4de4 to 8933908 Compare February 16, 2024 12:25
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.

None yet

1 participant