Skip to content

Commit 5f8a890

Browse files
committed
fix(discover): update run buttons doesn't work on typing
1 parent d36964e commit 5f8a890

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
@@ -190,7 +190,7 @@ def get_file(self: FileReader, source: Union[str, Path, IOBase], accept_text: bo
190190
path = self._get_path(source, accept_text)
191191

192192
if path and Path(path).is_absolute():
193-
if _stdin_data is not None and (data := _stdin_data.get(Uri.from_path(path))) is not None:
193+
if _stdin_data is not None and (data := _stdin_data.get(Uri.from_path(path).normalized())) is not None:
194194
if data is not None:
195195
return old_get_file(self, data, True)
196196

0 commit comments

Comments
 (0)