Azure / Azure/static-web-apps-cli

Bug in swa-cli.config.schema.json

未关闭
#705 2 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
scope: core type: bug version: ga
主要语言
TypeScript
星标
668
派生
155
PR 合并指标
30 天内没有已合并 PR

描述

**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`.

贡献指南

打开贡献指南

调研方向

打开 schema/swa-cli.config.schema.json,比较第 61 行和第 92 行附近的命令定义。根据 issue 确认属性名称和引用的定义,然后验证 schema 不再重复 init,并接受 build 的正确参数。

由索引模型根据 Issue 内容生成。

评估

技术栈
typescript
领域
cli
Issue 类型
缺陷
难度
1/5
预计耗时
1 小时以内
活跃度
停滞
描述清晰度
描述清楚
新手友好度
35/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。