[Feature] Use path.join to construct the EAS configuration file path
维护者通常 1 天内回复
还没有人认领这个 Issue。
评估
- 难度
- 2/5
- 预计耗时
- 1-3 小时
- 新手友好度
- 83/100
- Issue 类型
- 功能
- 描述清晰度
- 描述清楚
- 活跃度
- 活跃
- 技术栈
- node.js, react-native, typescript
调研方向
找到 EAS 配置命令以及断言 eas.json 路径的现有测试。先阅读该实现及其测试文件,然后更新路径断言,并补充项目根目录以分隔符结尾的测试覆盖。当命令使用 path.join(projectRootPath, "eas.json") 且两种路径情况都通过时,即为完成。
由索引模型根据 Issue 内容生成。
描述
Summary
The EAS build configuration command currently constructs the eas.json path
using string interpolation:
${projectRootPath}/eas.json
Use path.join(projectRootPath, "eas.json") instead to follow platform-native
path conventions and normalize the resulting path.
Motivation
Manual concatenation can produce mixed path separators on Windows or
duplicate separators when the project root already ends with one.
Node.js generally accepts forward slashes on Windows, so this is a
robustness and maintainability improvement rather than a fix for a
confirmed Windows failure.
Proposed changes
- Use Node.js
path.joinwhen checking whether eas.json exists. - Update the existing path assertion in the tests.
- Add a regression test for a project root with a trailing separator.
Expected behavior
The command checks a normalized eas.json path on all supported platforms.
Existing EAS configuration behavior remains unchanged.
- 主要语言
- TypeScript
- 星标
- 2.7k
- 派生
- 303
- 平均合并
- 19 小时 16 分钟
- 30 天内合并 PR
- 29
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 没有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
microsoft/vscode-react-native 的其他 Issue
-
enhancement
难度 2/5 1-3 小时 新手友好度 75/100
microsoft/vscode-react-native#3052 ·
维护者通常 1 天内回复
-
enhancement
难度 2/5 1-3 小时 新手友好度 72/100
microsoft/vscode-react-native#3037 ·
维护者通常 1 天内回复
-
enhancement
难度 2/5 1-3 小时 新手友好度 67/100
microsoft/vscode-react-native#3036 ·
维护者通常 1 天内回复
-
enhancement
难度 2/5 1-3 小时 新手友好度 76/100
microsoft/vscode-react-native#3031 ·
维护者通常 1 天内回复
-
enhancement
难度 2/5 1-3 小时 新手友好度 78/100
microsoft/vscode-react-native#3030 ·
维护者通常 1 天内回复
查看 microsoft/vscode-react-native 的全部 Issue
相似的 Issue
-
Add: Yichang TV未关闭check:passed streams:add
难度 2/5 1-3 小时 新手友好度 74/100
维护者通常 1 天内回复
-
vtselect: data race in Tempo search tags APIs for invalid TraceQL queries可能已有人在做 @Shubham19032004 今天认领。 未关闭bug
难度 2/5 1-3 小时 新手友好度 78/100
VictoriaMetrics/VictoriaTraces#304 ·
维护者通常 1 天内回复
-
test: claim-conflict drop leaves both facts active and is never re-proposed (untested review cell)未关闭
难度 2/5 1-3 小时 新手友好度 83/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 78/100
microsoft/vscode-pull-request-github#9159 ·
维护者通常 1 天内回复
-
[Feature]: Usage page should show API-equivalent cost and say when a connected plan shows info only未关闭enhancement from-x
难度 2/5 1-3 小时 新手友好度 66/100
nightly-labs/openbot#4867 ·
维护者通常 1 天内回复