The scan
API does not properly handle newline characters in windows OS
#4330
Labels
module/yaml
Reason/EngineeringMistake
The issue occurred due to a mistake made in the past.
Team/PCM
Protocol connector packages related issues
Type/Bug
Description:
$Subject
This is because the check here[1] becomes
false
in windows, but in ubuntu, it becomestrue
and works as expected.Steps to reproduce:
Run this test case in windows:
Output:
Affected Versions:
0.1.0
OS, DB, other environment details and versions:
Windows
[1] https://github.com/ballerina-platform/module-ballerina-yaml/blob/b6356efb53513341bc831fa02130867b41f63df5/modules/lexer/lexer.bal#L66
The text was updated successfully, but these errors were encountered: