-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
The input and output looks all the same, but occurs an error #3847
Comments
Hello @PuffMeow. Please provide a minimal reproduction using a GitHub repository or StackBlitz. Issues marked with |
Probably new line is different? |
@sheremet-va Please see this repo: https://github.com/PuffMeow/schema2ts steps: 1.pnpm i 2.pnpm run test finally you will see test6 failed |
I can't find what's wrong with it. |
@PuffMeow as suggested, you should look at the line ending which might be the difference and is invisible to the user, most CI use Unix line ending (LF) while on Windows it's CRLF and tests could pass locally but fail in CI and vice/versa |
Wow, it seems like that, I try to change the end of line to LF, it works correctly. |
Describe the bug
Reproduction
System Info
Used Package Manager
pnpm
Validations
The text was updated successfully, but these errors were encountered: