Skip to content

Commit b5d23f9

Browse files
authored
fix drift syntax error (#1903)
1 parent cde840e commit b5d23f9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ee/drift/utils/github.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ func GetDiggerConfigForBranch(gh utils.GithubClientProvider, installationId int6
103103

104104
var changedFiles []string = nil
105105

106-
err = utils2.CloneGitRepoAndDoAction(cloneUrl, branch, "", *token, func(dir string) error {
106+
err = utils2.CloneGitRepoAndDoAction(cloneUrl, branch, "", *token, "", func(dir string) error {
107107
diggerYmlBytes, err := os.ReadFile(path.Join(dir, "digger.yml"))
108108
diggerYmlStr = string(diggerYmlBytes)
109109
config, _, dependencyGraph, err = dg_configuration.LoadDiggerConfig(dir, true, changedFiles)
@@ -112,7 +112,7 @@ func GetDiggerConfigForBranch(gh utils.GithubClientProvider, installationId int6
112112
return err
113113
}
114114
return nil
115-
}, "")
115+
})
116116
if err != nil {
117117
log.Printf("Error cloning and loading config: %v", err)
118118
return "", nil, nil, nil, fmt.Errorf("error cloning and loading config")

0 commit comments

Comments
 (0)