fix: lint issue

Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
This commit is contained in:
Carlos Alexandro Becker 2024-07-03 13:05:46 -03:00
parent 3ee20895b1
commit 7e471f1787
No known key found for this signature in database

View file

@ -34,7 +34,7 @@ var configCmd = &cobra.Command{
Long: paragraph(fmt.Sprintf("\n%s the glow config file. Well use EDITOR to determine which editor to use. If the config file doesn't exist, it will be created.", keyword("Edit"))),
Example: paragraph("glow config\nglow config --config path/to/config.yml"),
Args: cobra.NoArgs,
RunE: func(cmd *cobra.Command, args []string) error {
RunE: func(*cobra.Command, []string) error {
if err := ensureConfigFile(); err != nil {
return err
}