Skip to content

Commit

Permalink
Fix command
Browse files Browse the repository at this point in the history
  • Loading branch information
Fs02 committed Aug 16, 2024
1 parent 4a89426 commit d1b824a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ def godoc(pkg):
"""
Generate Godoc
"""
subprocess.run(['go', 'get', 'pkg'])
subprocess.run(['go', 'get', pkg])
result = subprocess.run(
['godoc2md', '-template=docs/reference/godoc.tpl', pkg], stdout=subprocess.PIPE)
return result.stdout.decode("utf-8")

0 comments on commit d1b824a

Please sign in to comment.