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 8da8231 commit 9cbd799Copy full SHA for 9cbd799
main-script.py
@@ -55,7 +55,7 @@ def rewriteContents(old_content, new_content):
55
56
57
repoName = sys.argv[3].split('/')[-1]
58
-readme_path = '/home/runner/work/' + f'{repoName}/{repoName}/' + f'{sys.argv[2]}'
+readme_path = sys.argv[3] + f'/{sys.argv[2]}'
59
with open(readme_path, 'r', encoding='utf-8') as f:
60
readme = f.read()
61
0 commit comments