question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Problem with Windows Line Endings

See original GitHub issue

Hi @amihaiemil

In the version 4.3.3 the return of the following code:

YamlMapping yaml  = Yaml.createYamlMappingBuilder()
     .add("spec", "1.2")
     .build();
System.out.println(yaml);

will be:

: 1.2

and it should be:

spec : 1.2

Is there something wrong with this release? Or am I missing something here?

Thank you

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:33 (33 by maintainers)

github_iconTop GitHub Comments

1reaction
amihaiemilcommented, May 4, 2020

@ANadrowski sweet! I’ll release 4.3.5 now 😃

1reaction
ANadrowskicommented, May 4, 2020

hey @amihaiemil all tests are green now, thank you 😄

Read more comments on GitHub >

github_iconTop Results From Across the Web

Fixing misaligned Linux and Windows line endings
Windows and Linux line endings don't match, which causes trouble if you're moving files from a Windows desktop to a Linux container.
Read more >
Windows command to convert Unix line endings?
Everytime I have to run the bat file, I open it in Notepad++ and choose Edit→EOL conversion→Windows. Is there a way to automate...
Read more >
Converting from Windows-style to UNIX-style line endings
The Problem​​ Unfortunately, the programmers of different operating systems have represented line endings using different sequences: All versions ...
Read more >
Windows line-end characters can cause errors in Linux - IBM
On the Linux operating system source files that contain Windows-style line-end characters (carriage return + line feed) can cause errors when processed.
Read more >
DOS vs. Unix Line Endings
Text files created on DOS/Windows machines have different line endings than files created on Unix/Linux. DOS uses carriage return and line feed ("\r\n")...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found