Skip to content

Commit d21b5dd

Browse files
should be right
1 parent 85543b5 commit d21b5dd

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

lfric_macros/validate_rose_meta.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -215,14 +215,16 @@ def main():
215215
)
216216
if args.apps:
217217
source_path = args.apps
218-
meta_paths += f"-M {os.path.join(args.apps, "rose-meta")}"
218+
meta_paths += f"-M {os.path.join(args.apps, "rose-meta")} "
219219
rose_meta_path += args.apps
220220
if args.core:
221-
source_path = args.core
222221
meta_paths += f"-M {os.path.join(args.core, "rose-meta")} "
223222
if rose_meta_path:
223+
# Apps has already started this
224224
rose_meta_path += f":{args.core}"
225225
else:
226+
# Apps hasn't been set
227+
source_path = args.core
226228
rose_meta_path = args.core
227229

228230
if check_rose_metadata(rose_meta_path, source_path) or check_rose_stem_apps(

0 commit comments

Comments
 (0)