Skip to content

Commit

Permalink
Don't use elif after return
Browse files Browse the repository at this point in the history
  • Loading branch information
equeim committed Dec 28, 2024
1 parent 40dea80 commit 1e9d096
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/make-source-archive.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ def get_project_version() -> str:
for arg in args:
if found_version:
return arg
elif arg.lower() == "version":
if arg.lower() == "version":
found_version = True
raise RuntimeError("Failed to find version in CMake trace output")

Expand Down

0 comments on commit 1e9d096

Please sign in to comment.