Skip to content

Conversation

@alexanderogilvie
Copy link
Contributor

Fixes #19 by converting CRLF's to LF's before comparing generated code and content of existing files in 'verify' mode.
Fixes tests by replacing backslashes in file pathes by slashes before comparing with snapshot.

aogilvie-tc and others added 3 commits July 11, 2019 11:58
Made 'verify' mode stable for Windows by always converting line separators to LF before comparing content (Windows / git might create / convert to CRLF).
Copy link
Collaborator

@mattcompiles mattcompiles left a comment

Choose a reason for hiding this comment

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

Thanks for this. 🍻
Sorry the PR sat for so long. We don't have Windows machines so I couldn't validate the fix until now.

@mattcompiles mattcompiles merged commit 88538d1 into seek-oss:master Sep 20, 2019
@alexanderogilvie
Copy link
Contributor Author

Thanks for merging! 🍻

silbinarywolf added a commit to silbinarywolf/css-modules-typescript-loader that referenced this pull request Oct 18, 2019
…sing index signature syntax, ie. a['my-selector'] (seek-oss#20)
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.

Mode 'verify' and tests do not run on Windows

3 participants