Skip to content

Commit 706f1fc

Browse files
committed
Fix the inconsistent use of tabs and spaces in update_package.py
1 parent dc74d59 commit 706f1fc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

scripts/utils/update_package.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -39,9 +39,9 @@ def get_latest_version(org, project, version):
3939
latest_version = response.json()["tag_name"]
4040
# version excludes `v` from the capturing group in the regex in update_github_url therefore latest_version_match mustn't include `v` if the version starts with `v`. Otherwise the github URL would replace the version without the `v` with the github version tag with the `v` which will result in the wrong URL such as: https://github.com/jstrosch/sclauncher/releases/download/vv0.0.6/sclauncher.exe
4141
if latest_version.startswith('v'):
42-
return latest_version[1:]
42+
return latest_version[1:]
4343
else:
44-
return latest_version
44+
return latest_version
4545

4646

4747
# Get url response's content hash (SHA256)

0 commit comments

Comments
 (0)