From 5810788d1f32cfbadab86d34f35ade9372aa1fb5 Mon Sep 17 00:00:00 2001 From: "Stephen C. Pope" Date: Wed, 20 Aug 2025 11:18:06 -0600 Subject: [PATCH] Update version_suffix.py handle case with no suffix --- scripts/version_suffix.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/version_suffix.py b/scripts/version_suffix.py index d648098..1b17d87 100644 --- a/scripts/version_suffix.py +++ b/scripts/version_suffix.py @@ -5,7 +5,7 @@ import sys file_path = sys.argv[1] -suffix = sys.argv[2].strip() +suffix = len(sys.argv) >= 3 and sys.argv[2].strip() or "" with open(file_path) as f: lines = f.readlines()