Azure / Azure/static-web-apps-cli

Bug in swa-cli.config.schema.json

Open
#705 2 comments 0 reactions 0 assignees View on GitHub
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

Open the contributing 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.