Skip to content

Commit

Permalink
Update root.go
Browse files Browse the repository at this point in the history
  • Loading branch information
jackton1 committed Feb 5, 2022
1 parent f5aa843 commit e3e562f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ func (a *Action) renderOutput() error {
var outputDefault string
if len(a.Inputs[key].Default) > 0 {
if a.Inputs[key].Default == pipeSeparator {
outputDefault = "\"\\" + outputDefault + "\""
outputDefault = "\"\\" + a.Inputs[key].Default + "\""
} else {
outputDefault = fmt.Sprintf("%#v", a.Inputs[key].Default)
}
Expand Down

0 comments on commit e3e562f

Please sign in to comment.