Skip to content

Commit

Permalink
Fix golint issues in mesheryctl/pkg/utils/helpers.go
Browse files Browse the repository at this point in the history
Signed-off-by: Xin Huang <[email protected]>
  • Loading branch information
gyohuangxin committed Feb 13, 2024
1 parent d53f25e commit a687bb8
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion mesheryctl/pkg/utils/helpers.go
Original file line number Diff line number Diff line change
Expand Up @@ -547,7 +547,10 @@ func ClearLine() {
clearCmd = exec.Command("cmd", "/c", "cls") // for Windows
}
clearCmd.Stdout = os.Stdout
clearCmd.Run()
err := clearCmd.Run()
if err != nil {
log.Fatal(err)
}
}

// StringContainedInSlice returns the index in which a string is a substring in a list of strings
Expand Down

0 comments on commit a687bb8

Please sign in to comment.