We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 507869a commit 9371dd2Copy full SHA for 9371dd2
catalog_reader/scripts/apps_hashes.py
@@ -70,8 +70,6 @@ def update_catalog_hashes(
70
if not app_metadata_file.is_file():
71
continue
72
73
- app_found = True
74
-
75
with open(str(app_metadata_file), 'r') as f:
76
app_config = yaml.safe_load(f.read())
77
@@ -109,6 +107,9 @@ def update_catalog_hashes(
109
107
message += f' and bumped version from {old_version!r} to {app_config["version"]!r}'
110
108
print(message)
111
+ if is_single_app:
+ app_found = True
112
+
113
if is_single_app and not app_found:
114
verrors.add('app', f'App {app_name!r} not found in train {train_name!r}')
115
verrors.check()
0 commit comments