File tree Expand file tree Collapse file tree 1 file changed +4
-6
lines changed
Expand file tree Collapse file tree 1 file changed +4
-6
lines changed Original file line number Diff line number Diff line change @@ -152,13 +152,11 @@ jobs:
152152 properties_file = f"modules/{module_name}.properties"
153153
154154 if not os.path.exists(properties_file):
155- print(f"Properties file not found: {properties_file}")
156- print(f"Creating new properties file...")
157- os.makedirs('modules', exist_ok=True)
158- with open(properties_file, 'w', encoding='utf-8') as f:
159- f.write(f"# {module_name.upper()} Module Properties\n")
160- f.write(f"# Auto-generated and maintained by automation\n\n")
155+ print(f"ERROR: Properties file not found: {properties_file}")
156+ print(f"The properties file must already exist in the repository.")
157+ exit(1)
161158
159+ print(f"Reading existing properties file: {properties_file}")
162160 with open(properties_file, 'r', encoding='utf-8') as f:
163161 lines = f.readlines()
164162
You can’t perform that action at this time.
0 commit comments