mirror of
https://github.com/onyx-and-iris/xair-cli.git
synced 2026-04-09 02:13:35 +00:00
add staticcheck linter
This commit is contained in:
@@ -22,7 +22,7 @@ type MatrixCmdGroup struct {
|
||||
|
||||
func (cmd *MatrixCmdGroup) Validate() error {
|
||||
if cmd.Index.Index < 1 || cmd.Index.Index > 6 {
|
||||
return fmt.Errorf("Matrix output index must be between 1 and 6, got %d", cmd.Index.Index)
|
||||
return fmt.Errorf("matrix output index must be between 1 and 6, got %d", cmd.Index.Index)
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user