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 comment spacing fixes for Windows (CRLF). #54

Merged
merged 0 commits into from
Nov 4, 2021

Conversation

Jonas-Sander
Copy link
Collaborator

Windows has CRLF line endings for files ("\r\n") while Linux and macOS use LF ("\n").
The comment spacing fixes could handle LF but not CRLF. This is fixed with this PR.

@Jonas-Sander
Copy link
Collaborator Author

@nilsreichardt Man I thought I went crazy 😂

When I copied out the comments which were flagged as "badly spaced" on Windows into the test file it must have had automatically changed the line endings. That means after I copied the comments into the tests they were not badly spaced anymore according to my code 🤯

@Jonas-Sander Jonas-Sander merged this pull request into main Nov 4, 2021
@Jonas-Sander Jonas-Sander deleted the comment-spacing-windows-crlf branch November 4, 2021 22:10
nilsreichardt added a commit that referenced this pull request Sep 24, 2023
`/mobile-store` should open on Android & iOS the store of the OS. This
link should replace the https://onelink.to in the app:


https://github.com/SharezoneApp/sharezone-app/blob/2f5b5ad5e2d12bef52db30a86a5240feebe008ef/app/lib/pages/settings/changelog_page.dart#L200

Using our own link has the advantage that if https://onelink.to removes
our link that we can replace the redirect without an update.
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.

1 participant