Skip to content

Commit b53b722

Browse files
authored
fix NetworkAccess typo (#74)
1 parent c1be03e commit b53b722

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cwlupgrader/main.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -327,7 +327,7 @@ def _v1_0_to_v1_1(document: CommentedMap, outdir: str) -> CommentedMap:
327327
# TODO: add comments to explain the extra hints
328328
if isinstance(hints, MutableSequence):
329329
if not network_access:
330-
hints.append({"class": "NetworkAcess", "networkAccess": True})
330+
hints.append({"class": "NetworkAccess", "networkAccess": True})
331331
if not listing:
332332
hints.append(
333333
cmap(
@@ -339,7 +339,7 @@ def _v1_0_to_v1_1(document: CommentedMap, outdir: str) -> CommentedMap:
339339
)
340340
elif isinstance(hints, MutableMapping):
341341
if not network_access:
342-
hints["NetworkAcess"] = {"networkAccess": True}
342+
hints["NetworkAccess"] = {"networkAccess": True}
343343
if not listing:
344344
hints["LoadListingRequirement"] = cmap(
345345
{"loadListing": "deep_listing"}

0 commit comments

Comments
 (0)