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

Allow spec files with CRLF #533

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

Allow spec files with CRLF #533

wants to merge 1 commit into from

Conversation

TheYkk
Copy link

@TheYkk TheYkk commented Feb 29, 2024

When we use config files that has line ending with CRLF the sloth fails to recognise specs because of the regex rules.

This change allows sloth to recognize prometheus spec in CRLF files.

Fixes: #406

Signed-off-by: Kaan Karakaya <[email protected]>
@TheYkk TheYkk requested a review from slok as a code owner February 29, 2024 13:44
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.

validate/generate command fails when spec file is created with CRLF on windows
2 participants