mirror of
https://github.com/go-task/task.git
synced 2026-06-25 13:46:13 +00:00
feat: do not log secret variables
This commit is contained in:
@@ -254,6 +254,7 @@ func (e *Executor) compiledTask(call *Call, evaluateShVars bool) (*ast.Task, err
|
||||
continue
|
||||
}
|
||||
newCmd := cmd.DeepCopy()
|
||||
newCmd.CmdTemplate = cmd.Cmd
|
||||
newCmd.Cmd = templater.Replace(cmd.Cmd, cache)
|
||||
newCmd.Task = templater.Replace(cmd.Task, cache)
|
||||
newCmd.If = templater.Replace(cmd.If, cache)
|
||||
|
||||
Reference in New Issue
Block a user