chore: Add warning messages for SUI core watch command

This commit is contained in:
Max 2024-07-24 08:28:47 +08:00
parent 1257337765
commit 8269dcf6f3

View file

@ -105,6 +105,7 @@ var WatchCmd = &cobra.Command{
}
if len(warnings) > 0 {
fmt.Fprintln(os.Stderr, color.YellowString("\nWarnings:"))
for _, warning := range warnings {
fmt.Fprintln(os.Stderr, color.YellowString(warning))
}