Skip to content

Commit

Permalink
fix(core): schemas should not require executor due to negative config…
Browse files Browse the repository at this point in the history
… work
  • Loading branch information
AgentEnder committed Jan 3, 2023
1 parent 64d7ceb commit d72ed7d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 22 deletions.
12 changes: 1 addition & 11 deletions packages/nx/schemas/project-schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -80,17 +80,7 @@
"type": "string",
"description": "A shorthand for using the nx:run-commands executor"
}
},
"oneOf": [
{
"type": "object",
"required": ["executor"]
},
{
"type": "object",
"required": ["command"]
}
]
}
}
},
"tags": {
Expand Down
12 changes: 1 addition & 11 deletions packages/nx/schemas/workspace-schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -90,17 +90,7 @@
"type": "string",
"description": "A shorthand for using the nx:run-commands executor"
}
},
"oneOf": [
{
"type": "object",
"required": ["executor"]
},
{
"type": "object",
"required": ["command"]
}
]
}
}
},
"tags": {
Expand Down

0 comments on commit d72ed7d

Please sign in to comment.