static-web-apps-cli icon indicating copy to clipboard operation
static-web-apps-cli copied to clipboard

fix: correct duplicate 'init' property in schema to 'build'

Open keith-oak opened this issue 6 months ago • 0 comments

Summary

Fixes a bug in the JSON schema where a duplicate 'init' property should have been 'build'.

Details

The schema file /schema/swa-cli.config.schema.json had a duplicate 'init' property at line 92 that was referencing buildCommandParameters. This property should have been named 'build' to match the parameters it references.

Changes

  • Changed line 92 from "init": { to "build": {

Testing

  • ✅ Validated JSON schema syntax
  • ✅ All unit tests pass
  • ✅ No breaking changes

References

Fixes #705

Thanks to @javier-lopez-1s for reporting this issue!

keith-oak avatar Jun 25 '25 00:06 keith-oak