split lines the same when read from stdin

This commit is contained in:
Anthony Sottile 2020-01-16 14:06:37 -08:00
parent b56c88fe65
commit 32c7ebcd7b
4 changed files with 47 additions and 29 deletions

View file

@ -334,7 +334,7 @@ class FileProcessor(object):
def read_lines_from_stdin(self):
# type: () -> List[str]
"""Read the lines from standard in."""
return utils.stdin_get_value().splitlines(True)
return utils.stdin_get_lines()
def should_ignore_file(self):
# type: () -> bool