meta: require name to match module in schema
When generating the schema information for a Stage, Assemgbler, ensure that `name` is actually the one that matches the module.
This commit is contained in:
parent
48418be8de
commit
94dc11a910
1 changed files with 1 additions and 1 deletions
|
|
@ -297,7 +297,7 @@ class ModuleInfo:
|
|||
|
||||
if self.type in ("Stage", "Assembler"):
|
||||
schema["properties"] = {
|
||||
"name": {"type": "string"},
|
||||
"name": {"enum": [self.name]},
|
||||
"options": {
|
||||
"type": "object",
|
||||
**self.opts
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue