Skip to content

Commit 8e91784

Browse files
author
neatc0der
committed
fixes bug to write binary files in release action
1 parent ef373dc commit 8e91784

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.build/mkdocs_markmap_build/common.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ def get_assets_from_release(self) -> List[str]:
5959
sys.exit(1)
6060

6161
file_path: Path = DIST_PATH / asset.name
62-
with open(file_path) as fp:
62+
with open(file_path, 'wb') as fp:
6363
fp.write(response.data)
6464

6565
assets.append(str(file_path))

0 commit comments

Comments
 (0)