Skip to content

Fix: allow comments in audit file#2056

Merged
tobymao merged 1 commit intomainfrom
trey/audit-comments
Jan 30, 2024
Merged

Fix: allow comments in audit file#2056
tobymao merged 1 commit intomainfrom
trey/audit-comments

Conversation

@treysp
Copy link
Copy Markdown
Contributor

@treysp treysp commented Jan 30, 2024

Currently, the audit loader assigns any SQL comments above the audit DDL to the audit's description field. That field does not have first-class support, so audits with a comment present errored out.

This PR allows comments to be present by removing the assignment of the comment to the description field.

Closes #2054

@treysp treysp force-pushed the trey/audit-comments branch from cfc03f4 to a2cb307 Compare January 30, 2024 22:25
@tobymao tobymao merged commit 7515990 into main Jan 30, 2024
@tobymao tobymao deleted the trey/audit-comments branch January 30, 2024 22:55
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.

Adding a comment to an AUDIT sql file fails to load it

2 participants