MSP-5014 Refactor utils
This commit is contained in:
1 parent
7c01299e53
commit
8c49ae85ed
10 files changed
+44
-60
No files matched your search
+1
-1
@@ -51,7 +51,7 @@ func (c Status) action(ctx *cli.Context) error {
|
||||
}
|
||||
switch ctx.String(OutPrintFlagName) {
|
||||
case OutPrintJsonValue:
|
||||
utils.PrintAnswer(arrayOfModules)
|
||||
return utils.PrintAnswer(arrayOfModules)
|
||||
default:
|
||||
table := tablewriter.NewWriter(os.Stdout)
|
||||
table.SetBorders(tablewriter.Border{Left: false, Top: false, Right: false, Bottom: false})
|
||||
|
||||
Reference in new issue
Block a user