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 cdd4f1b commit 1dcf652
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion cmd/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -109,8 +109,10 @@ func (a *Action) renderOutput() error {
outputDefault = a.Inputs[key].Default

if outputDefault == pipeSeparator {
outputDefault = "`\\" + outputDefault + "`"
outputDefault = "\\" + outputDefault
}

outputDefault = "`\"" + outputDefault + "`\""
}
row := []string{key, "string", strconv.FormatBool(a.Inputs[key].Required), outputDefault, wordWrap(a.Inputs[key].Description, maxWords)}
inputTable.Append(row)
Expand Down

0 comments on commit 1dcf652

Please sign in to comment.