We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 46b82f8 commit 506bdb3Copy full SHA for 506bdb3
cwl_utils/utils.py
@@ -90,7 +90,7 @@ def load_linked_file(
90
new_url = resolved_path(base_url, link)
91
92
if new_url.scheme in ["file://", ""]:
93
- contents = pathlib.Path(new_url.path).open().read()
+ contents = pathlib.Path(new_url.path).read_text()
94
else:
95
try:
96
contents = (
0 commit comments