uselagoon / lagoon-cli

A CLI for Lagoon - Docker Build and Deploy System for Kubernetes
https://uselagoon.github.io/lagoon-cli
MIT License
24 stars 15 forks source link

Missing linefeed in error message #365

Open tnelson-doghouse opened 1 month ago

tnelson-doghouse commented 1 month ago

Describe the bug There's no line feed (\n) at the end of the error message, so the next line runs onto it.

To Reproduce

$ lagoon list variables --project <project> -e <environment>
There are no variables for environment 'deploy/lagoon/pre-production' in project 'district-captivate'ID PROJECT ENVIRONMENT     SCOPE       NAME

Note how in the above output, the error and the column headings are all on the same line (in github, you may need to scroll to see this).

Expected behavior There is a carriage return after the error message (not sure the column headings need to be there either, but whatever)

Desktop (please complete the following information):

Additional context Add any other context about the problem here.

shreddedbacon commented 1 month ago

This will be fixed in the next CLI release which will be soon. We are preparing some release notes ahead of its release as it will be a big one

tnelson-doghouse commented 1 month ago

Great!