Skip to content

Commit a5658f9

Browse files
authored
Merge pull request #2397 from ActiveState/mitchell/dx-1613
Add newline between errors and "Need More Help?" header.
2 parents 17c76a7 + 95caab7 commit a5658f9

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

pkg/cmdlets/errors/errors.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,7 @@ func (o *OutputError) MarshalOutput(f output.Format) interface{} {
6767

6868
// Print tips
6969
if enableTips := os.Getenv(constants.DisableErrorTipsEnvVarName) != "true"; enableTips {
70+
outLines = append(outLines, "") // separate error from "Need More Help?" header
7071
outLines = append(outLines, output.Title(locale.Tl("err_more_help", "Need More Help?")).String())
7172
for _, tip := range errorTips {
7273
outLines = append(outLines, fmt.Sprintf(" [DISABLED]•[/RESET] %s", trimError(tip)))

0 commit comments

Comments
 (0)