voidint/gbb

debug信息缺少变量表达式求值的信息

voidint opened this issue · 0 comments

{
    "version": "0.2.0",
    "tool": "go build",
    "package": "github.com/voidint/gbb/build",
    "variables": [
        {
            "variable": "Date",
            "value": "{{.date}}"
        },
        {
            "variable": "Commit",
            "value": "{{.gitCommit}}"
        }
    ]
}

对于以上{{.date}}{{.gitCommit}}这类表达式的求值过程并没有在debug信息中输出。在没有debug信息情况下,如果在变量表达式求值的过程中发生错误,错误的定位将比较困难。