Skip to content

Commit b8f32f9

Browse files
authored
dependency_updater: remove redundant string casts in updater CLI args (#571)
1 parent df92c55 commit b8f32f9

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

dependency_updater/dependency_updater.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ func main() {
6464
},
6565
},
6666
Action: func(ctx context.Context, cmd *cli.Command) error {
67-
err := updater(string(cmd.String("token")), string(cmd.String("repo")), cmd.Bool("commit"), cmd.Bool("github-action"))
67+
err := updater(cmd.String("token"), cmd.String("repo"), cmd.Bool("commit"), cmd.Bool("github-action"))
6868
if err != nil {
6969
return fmt.Errorf("failed to run updater: %s", err)
7070
}

0 commit comments

Comments
 (0)