Skip to content

Commit

Permalink
Ignore linter error
Browse files Browse the repository at this point in the history
  • Loading branch information
mostafa committed Sep 4, 2023
1 parent 4dd4c26 commit ae2a3ec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/plugin_install.go
Original file line number Diff line number Diff line change
Expand Up @@ -303,7 +303,7 @@ var pluginInstallCmd = &cobra.Command{
if err := yaml.Unmarshal(pluginsConfig, &localPluginsConfig); err != nil {
log.Fatal("Failed to unmarshal the plugins configuration file: ", err)
}
pluginsList, ok := localPluginsConfig["plugins"].([]interface{})
pluginsList, ok := localPluginsConfig["plugins"].([]interface{}) //nolint:varnamelen
if !ok {
log.Fatal("There was an error reading the plugins file from disk")
}
Expand Down

0 comments on commit ae2a3ec

Please sign in to comment.