summaryrefslogtreecommitdiff
path: root/vendor/github.com/pkg/errors
diff options
context:
space:
mode:
authorBen Keith <keitwb@gmail.com>2018-03-02 20:42:19 -0500
committerGitHub <noreply@github.com>2018-03-02 20:42:19 -0500
commit73f2ea0d517a20058ba2d31c86036c44052e651d (patch)
treee3e72798d3cc744315e78e3c6006a7ae962dd9fa /vendor/github.com/pkg/errors
parent1ea5214a7153733385f14759e4c80a1e53956f09 (diff)
Allow no indentation in strings.Indent
When recursively generating YAML, it is useful to have a simple generic template definition that starts with an indent of 0 and increments at each level YAML. If you pass `width` of 0 to the function as it was before this change, it would indent it one level without complaining, which was a great source of confusion to me.
Diffstat (limited to 'vendor/github.com/pkg/errors')
0 files changed, 0 insertions, 0 deletions