mirror of
https://github.com/kubevela/kubevela.git
synced 2026-08-19 04:26:39 +00:00
Fix: trait/comp command output without a new line (#3112)
Signed-off-by: qiaozp <chivalry.pp@gmail.com>
This commit is contained in:
@@ -244,6 +244,6 @@ func PrintInstalledCompDef(c common2.Args, io cmdutil.IOStreams, filter filterFu
|
||||
}
|
||||
table.AddRow(capa.Name, capa.CrdName)
|
||||
}
|
||||
io.Infof(table.String())
|
||||
io.Info(table.String())
|
||||
return nil
|
||||
}
|
||||
|
||||
@@ -245,7 +245,7 @@ func PrintInstalledTraitDef(c common2.Args, io cmdutil.IOStreams, filter filterF
|
||||
}
|
||||
table.AddRow(capa.Name, capa.AppliesTo)
|
||||
}
|
||||
io.Infof(table.String())
|
||||
io.Info(table.String())
|
||||
return nil
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user