prevent * in source

This commit is contained in:
Matt Venn
2023-02-24 10:20:34 +01:00
parent 4f4d74560d
commit 9246dd85cd
+3
View File
@@ -83,6 +83,9 @@ def get_project_source(yaml):
exit(1) exit(1)
for filename in source_files: for filename in source_files:
if '*' in filename:
logging.error("* not allowed, please specify each file")
exit(1)
if not os.path.exists(os.path.join('src', filename)): if not os.path.exists(os.path.join('src', filename)):
logging.error(f"{filename} doesn't exist in the repo") logging.error(f"{filename} doesn't exist in the repo")
exit(1) exit(1)