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: fix require error with commitlint #636

Merged
merged 1 commit into from
Feb 28, 2024
Merged

Conversation

miabbott
Copy link
Contributor

Changed the commitlint config file to use a dynamic import of commitlint/esnure and updated the function to await the promise of the import.

(This code was generated by ChatGPT and appears to fix the error with using require('@commitlint/ensure'))

Closes: #633

Changed the commitlint config file to use a dynamic import of
`commitlint/esnure` and updated the function to await the promise of
the import.

(This code was generated by ChatGPT and appears to fix the error with
using `require('@commitlint/ensure')`)

Closes: fdo-rs#633

Signed-off-by: Micah Abbott <miabbott@redhat.com>
Copy link
Contributor

@nullr0ute nullr0ute left a comment

Choose a reason for hiding this comment

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

LGTM

@mergify mergify bot merged commit bc7f0b9 into fdo-rs:main Feb 28, 2024
20 of 21 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.

commitlint is broken, CI gets stuck
2 participants