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 <[email protected]>
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 <[email protected]>
Co-authored-by: Chaojie Yan <[email protected]>
---
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 {