Skip to content

Commit 3ca6fe8

Browse files
authored
refactor(internal/librarian): remove cfg from commandRunner (#2161)
Remove unused commandRunner.cfg field.
1 parent a6a3990 commit 3ca6fe8

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

internal/librarian/command.go

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,6 @@ type commitInfo struct {
8686
}
8787

8888
type commandRunner struct {
89-
cfg *config.Config
9089
repo gitrepo.Repository
9190
sourceRepo gitrepo.Repository
9291
state *config.LibrarianState
@@ -150,7 +149,6 @@ func newCommandRunner(cfg *config.Config) (*commandRunner, error) {
150149
return nil, err
151150
}
152151
return &commandRunner{
153-
cfg: cfg,
154152
workRoot: cfg.WorkRoot,
155153
repo: languageRepo,
156154
sourceRepo: sourceRepo,

0 commit comments

Comments
 (0)