Skip to content

Commit 48554ec

Browse files
committed
Fix sorting of version options
1 parent 7b534df commit 48554ec

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

scripts/main.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ def update_version_options():
101101
package = json.load(f)
102102
package["contributes"]["configuration"]["properties"][
103103
"septic.documentation.version"
104-
]["enum"] = list(map(folder_name_to_option, get_versions(output_path)))
104+
]["enum"] = sorted(list(map(folder_name_to_option, get_versions(output_path))))
105105
with open(package_path.resolve(), "w") as f:
106106
json.dump(package, f, indent=2)
107107

0 commit comments

Comments
 (0)