Skip to content

Commit e415456

Browse files
author
Mike Zorn
committed
fix lint issues
1 parent 164873d commit e415456

File tree

7 files changed

+9
-9
lines changed

7 files changed

+9
-9
lines changed

cmd/config/config.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ func run(service config.Service) func(*cobra.Command, []string) error {
117117
return newErr(err.Error())
118118
}
119119

120-
fmt.Fprintf(cmd.OutOrStdout(), output+"\n")
120+
fmt.Fprint(cmd.OutOrStdout(), output+"\n")
121121
case viper.GetBool(SetFlag):
122122
conf, err := config.New(viper.ConfigFileUsed(), os.ReadFile)
123123
if err != nil {
@@ -146,7 +146,7 @@ func run(service config.Service) func(*cobra.Command, []string) error {
146146
return newErr(err.Error())
147147
}
148148

149-
fmt.Fprintf(cmd.OutOrStdout(), output+"\n")
149+
fmt.Fprint(cmd.OutOrStdout(), output+"\n")
150150
case viper.IsSet(UnsetFlag):
151151
conf, err := config.New(viper.ConfigFileUsed(), os.ReadFile)
152152
if err != nil {
@@ -166,7 +166,7 @@ func run(service config.Service) func(*cobra.Command, []string) error {
166166
return newErr(err.Error())
167167
}
168168

169-
fmt.Fprintf(cmd.OutOrStdout(), output+"\n")
169+
fmt.Fprint(cmd.OutOrStdout(), output+"\n")
170170
default:
171171
return cmd.Help()
172172
}

cmd/flags/archive.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ func makeArchiveRequest(client resources.Client) func(*cobra.Command, []string)
5656
return errors.NewError(err.Error())
5757
}
5858

59-
fmt.Fprintf(cmd.OutOrStdout(), output+"\n")
59+
fmt.Fprint(cmd.OutOrStdout(), output+"\n")
6060

6161
return nil
6262
}

cmd/flags/toggle.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ func runE(client resources.Client) func(*cobra.Command, []string) error {
7878
return errors.NewError(err.Error())
7979
}
8080

81-
fmt.Fprintf(cmd.OutOrStdout(), output+"\n")
81+
fmt.Fprint(cmd.OutOrStdout(), output+"\n")
8282

8383
return nil
8484
}

cmd/members/invite.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ func runE(client resources.Client) func(*cobra.Command, []string) error {
6868
return errors.NewError(err.Error())
6969
}
7070

71-
fmt.Fprintf(cmd.OutOrStdout(), output+"\n")
71+
fmt.Fprint(cmd.OutOrStdout(), output+"\n")
7272

7373
return nil
7474
}

cmd/resources/resources.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -354,7 +354,7 @@ func (op *OperationCmd) makeRequest(cmd *cobra.Command, args []string) error {
354354
return errors.NewError(err.Error())
355355
}
356356

357-
fmt.Fprintf(cmd.OutOrStdout(), output+"\n")
357+
fmt.Fprint(cmd.OutOrStdout(), output+"\n")
358358

359359
return nil
360360
}

internal/dev_server/ui/src/Switch.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,4 +74,4 @@
7474
.animated-switch[data-selected] .switch-text-true,
7575
.animated-switch:not([data-selected]) .switch-text-false {
7676
opacity: 1;
77-
}
77+
}

ld-openapi.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49114,4 +49114,4 @@
4911449114
}
4911549115
}
4911649116
}
49117-
}
49117+
}

0 commit comments

Comments
 (0)