Skip to content

Commit 237342a

Browse files
gabyxbrianmcgee
andauthored
format.go aktualisieren
Co-authored-by: Brian McGee <[email protected]>
1 parent f79d181 commit 237342a

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

cmd/format/format.go

+1-2
Original file line numberDiff line numberDiff line change
@@ -126,8 +126,7 @@ func Run(v *viper.Viper, statz *stats.Stats, cmd *cobra.Command, paths []string)
126126
return errors.New("exactly one path should be specified when using the --stdin flag")
127127
}
128128

129-
err = resolvePaths(paths, walkType, cfg.TreeRoot)
130-
if err != nil {
129+
if err = resolvePaths(paths, walkType, cfg.TreeRoot); err != nil {
131130
return err
132131
}
133132

0 commit comments

Comments
 (0)