Skip to content
Snippets Groups Projects
Commit b64a7bcd authored by Rasmus Sode Lund's avatar Rasmus Sode Lund :zap:
Browse files

Fix confusing error message

parent 8ef63469
No related branches found
No related tags found
1 merge request!280Fix confusing error message
Pipeline #66124 passed with warnings
......@@ -75,10 +75,10 @@ def install_wind_tool(
# Check if requested version is available, and default it is not.
if version is not None and version not in versions[tool]["available"]:
version = versions[tool]["latest"]
print(
f"Version '{version}' of '{tool}' is not available - defaulting to the latest version: '{version}'"
f"Version '{version}' of '{tool}' is not available - defaulting to the latest version: '{versions[tool]["latest"]}'"
)
version = versions[tool]["latest"]
elif version is None:
version = versions[tool]["latest"]
print(f"Using latest version of '{tool}': {version}")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment