Azure / Azure/static-web-apps-cli
Bug in swa-cli.config.schema.json
Open
scope: core
type: bug
version: ga
- Dominant language
- TypeScript
- Stars
- 668
- Forks
- 156
- PR merge metrics
- No merged PRs in 30d
Description
**Bug in _/schema/swa-cli.config.schema.json_**
I believe in line 92 `init` should be replaced with `build`, because `init` has already been defined in line 61 and also because that property is accepting `#/$defs/buildCommandParameters` instead of `#/$defs/initCommandParameters`.
Contributor guide
Research direction
Open schema/swa-cli.config.schema.json and compare the command definitions around lines 61 and 92. Confirm the property name and referenced definition against the issue, then validate that the schema no longer duplicates init and accepts the correct parameters for build.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- cli
- Issue type
- Bug
- Difficulty
- 1/5
- Estimated time
- Under an hour
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 35/100