Skip to content

Commit

Permalink
Update main.py
Browse files Browse the repository at this point in the history
  • Loading branch information
creeper-0910 authored May 12, 2023
1 parent 96ba2ab commit 02015a0
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 @@ -14,6 +14,6 @@
with open("src/index.ts", 'r') as f:
content = f.read()
result = re.sub(r'const latest_version = "(.*)"', "const latest_version = \""+args[1]+"\"", content)
result = re.sub(r'const latest_display_version = "(.*)"', "const latest_display_version = \""+args[2]+"\"", )
result = re.sub(r'const latest_display_version = "(.*)"', "const latest_display_version = \""+args[2]+"\"", result)
with open("src/index.ts", 'w') as f:
f.write(result)

0 comments on commit 02015a0

Please sign in to comment.