Dont replace project name spaces with underlines (#7455)

This commit is contained in:
Jesse Hills 2024-09-16 18:03:51 +12:00
parent f87d9be60d
commit 749f664330
No known key found for this signature in database
GPG key ID: BEAAE804EFD8E83A

View file

@ -100,9 +100,6 @@ def valid_include(value):
def valid_project_name(value: str): def valid_project_name(value: str):
if value.count(".") != 1: if value.count(".") != 1:
raise cv.Invalid("project name needs to have a namespace") raise cv.Invalid("project name needs to have a namespace")
value = value.replace(" ", "_")
return value return value