There was an error while loading. Please reload this page.
1 parent ced7c5c commit 1f51464Copy full SHA for 1f51464
1 file changed
validate-spice
@@ -156,6 +156,8 @@ def exit_status(valid):
156
if sys.argv[1] == "--all":
157
valid = True
158
for uuid in os.listdir("."):
159
+ if any(char.isspace() for char in uuid):
160
+ raise CheckError(f"Invalid whitespace in path '{uuid}'")
161
if os.path.isdir(uuid) and not uuid.startswith("."):
162
valid = validate_xlet(uuid) and valid
163
else:
0 commit comments