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 58da3e8 commit b608026
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 @@ -109,7 +109,7 @@ func (a *Action) renderOutput() error {
if a.Inputs[key].Default != pipeSeparator {
outputDefault = fmt.Sprintf("`%#v`", a.Inputs[key].Default)
} else {
outputDefault = fmt.Sprintf("`\%s`", a.Inputs[key].Default)
outputDefault = "`\" + fmt.Sprintf("%s", a.Inputs[key].Default) + "`"
}
}
row := []string{key, "string", strconv.FormatBool(a.Inputs[key].Required), outputDefault, wordWrap(a.Inputs[key].Description, maxWords)}
Expand Down

0 comments on commit b608026

Please sign in to comment.