You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@devlake.apache.org by ab...@apache.org on 2022/10/31 07:51:42 UTC

[incubator-devlake] branch release-v0.14 updated: fix: pass the value of projectPath to dbt project-dir argument (#3575) (#3619)

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

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


The following commit(s) were added to refs/heads/release-v0.14 by this push:
     new 445aa4ae fix: pass the value of projectPath to dbt project-dir argument (#3575) (#3619)
445aa4ae is described below

commit 445aa4ae94960fb259b76eb72ee0515ae9da38a2
Author: Chaojie Yan <72...@qq.com>
AuthorDate: Mon Oct 31 15:51:37 2022 +0800

    fix: pass the value of projectPath to dbt project-dir argument (#3575) (#3619)
    
    Co-authored-by: Chaojie Yan <ch...@merico.dev>
    
    Co-authored-by: Chaojie Yan <ch...@merico.dev>
---
 plugins/dbt/tasks/convertor.go | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/plugins/dbt/tasks/convertor.go b/plugins/dbt/tasks/convertor.go
index 1498e3c0..49339d5c 100644
--- a/plugins/dbt/tasks/convertor.go
+++ b/plugins/dbt/tasks/convertor.go
@@ -110,7 +110,7 @@ func DbtConverter(taskCtx core.SubTaskContext) errors.Error {
 			return err
 		}
 	}
-	dbtExecParams := []string{"dbt", "run", "--profiles-dir", projectPath}
+	dbtExecParams := []string{"dbt", "run", "--project-dir", projectPath}
 	if projectVars != nil {
 		jsonProjectVars, err := json.Marshal(projectVars)
 		if err != nil {