Skip to content

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

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

keith-oak
Copy link

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!

The schema had a duplicate 'init' property at line 92 which should have been 'build'
since it references buildCommandParameters. This fixes the JSON schema validation issue.

Fixes Azure#705
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Bug in swa-cli.config.schema.json
1 participant