bigskysoftware / bigskysoftware/_hyperscript

Validation prints `Not found [target]` message for every flag

未关闭
#680 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
JavaScript
星标
3.8k
派生
172
PR 合并指标
30 天内没有已合并 PR

描述

Version used is 0.9.91.

Running validation with any flags prints a message to console due to how the `positional` args are determined.

E.g. running `--validate src/ --ext foo --attr bar` results in:

```
Not found: /foo
Not found: /bar
```

This is more of a cosmetic issue. I was confused at first when I saw the messages and unsure if my flags were even correctly parsed or not (turns out they are).

贡献指南

这个仓库没有索引到贡献指南

调研方向

首先跟踪验证路径,以及如何确定 --validate、--ext 和 --attr 的位置参数。复现报告中的命令,然后调整处理方式,使有效的标志值不会产生“Not found”消息,同时验证和标志解析继续正常工作。

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

评估

技术栈
javascript
领域
cli
Issue 类型
缺陷
难度
3/5
预计耗时
1-2 天
活跃度
冷清
描述清晰度
基本清楚
新手友好度
52/100

把新 issue 发到你的邮箱

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