Skip to content

Commit c654af5

Browse files
committed
fix: patched FileReader for discovery should respect accept_text
1 parent 1c42f63 commit c654af5

File tree

1 file changed

+1
-1
lines changed
  • packages/runner/src/robotcode/runner/cli/discover

1 file changed

+1
-1
lines changed

packages/runner/src/robotcode/runner/cli/discover/discover.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ def get_file(self: FileReader, source: Union[str, Path, IOBase], accept_text: bo
131131
if path:
132132
if _stdin_data is not None and (data := _stdin_data.get(str(path))) is not None:
133133
if data is not None:
134-
return old_get_file(self, data, accept_text)
134+
return old_get_file(self, data, True)
135135

136136
return old_get_file(self, source, accept_text)
137137

0 commit comments

Comments
 (0)