a8m / a8m/envsubst

${{hello:-abc}} Mismatch in parsing after upgrade

未关闭
#71 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
Go
星标
907
派生
96
PR 合并指标
30 天内没有已合并 PR

描述

- v1.3.0 ${{hello:-abc}} == abc
- v1.4.2 ${{hello:-abc}} == abc}

贡献指南

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

调研方向

The issue describes a parsing mismatch for the shell parameter expansion syntax ${{hello:-abc}} between versions 1.3.0 and 1.4.2. Start by examining the parsing logic in the codebase, likely in files handling variable substitution. Look for changes in the lexer or parser between these versions. Run existing tests to see the current behavior and write a test to reproduce the mismatch. Understanding the expected output (whether it should be 'abc' or 'abc}') is key.

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

评估

技术栈
go, shell
领域
cli, tooling
Issue 类型
缺陷
难度
3/5
预计耗时
1-2 天
活跃度
停滞
描述清晰度
基本清楚
新手友好度
45/100

把新 issue 发到你的邮箱

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