Skip to content

Cope with different line endings in .terraform-version#434

Merged
Zordrak merged 1 commit intotfutils:masterfrom
fractos:fix/ignore-terraform-version-file-line-endings
Jul 4, 2025
Merged

Cope with different line endings in .terraform-version#434
Zordrak merged 1 commit intotfutils:masterfrom
fractos:fix/ignore-terraform-version-file-line-endings

Conversation

@fractos
Copy link
Contributor

@fractos fractos commented Jul 11, 2024

Use tr to strip carriage returns from this file as it can cause failures in repositories with CRLF.

Fixes #243

@fractos fractos force-pushed the fix/ignore-terraform-version-file-line-endings branch from e7b74fe to ffe5b01 Compare July 11, 2024 10:05
@fractos
Copy link
Contributor Author

fractos commented Oct 15, 2024

Hi @Zordrak - it would be great to get this reviewed and progressed. Do you have time to have a look?

Use `tr` to strip carriage returns from this file as it can cause failures in repositories with CRLF.

(remove log message changes)
@Zordrak Zordrak force-pushed the fix/ignore-terraform-version-file-line-endings branch from ffe5b01 to 08d328e Compare July 4, 2025 12:50
@Zordrak Zordrak self-requested a review July 4, 2025 12:55
@Zordrak Zordrak merged commit 66cea4c into tfutils:master Jul 4, 2025
3 checks passed
@fractos
Copy link
Contributor Author

fractos commented Jul 8, 2025

@Zordrak Thank you!

@fractos fractos deleted the fix/ignore-terraform-version-file-line-endings branch July 8, 2025 12:54
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.

Unable to invoke terraform when line feed is CRLF

3 participants