This is an automated email from the ASF dual-hosted git repository.

abeizn pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/incubator-devlake.git

commit d89ec2951e52162e1df206a77aecfef4190d9769
Author: long2ice <[email protected]>
AuthorDate: Wed Oct 19 15:42:15 2022 +0800

    refactor: remove git clone path
---
 plugins/dbt/tasks/git.go | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/plugins/dbt/tasks/git.go b/plugins/dbt/tasks/git.go
index 145d0aad..2c481e39 100644
--- a/plugins/dbt/tasks/git.go
+++ b/plugins/dbt/tasks/git.go
@@ -30,7 +30,7 @@ func Git(taskCtx core.SubTaskContext) errors.Error {
        if data.Options.ProjectGitURL == "" {
                return nil
        }
-       cmd := exec.Command("git", "clone", data.Options.ProjectGitURL, 
data.Options.ProjectPath)
+       cmd := exec.Command("git", "clone", data.Options.ProjectGitURL)
        logger.Info("start clone dbt project: %v", cmd)
        out, err := cmd.CombinedOutput()
        if err != nil {

Reply via email to