Skip to content
Prev Previous commit
Next Next commit
Use project name as the profile name
  • Loading branch information
dbeatty10 committed May 12, 2023
commit 1bc1f8c274ea309e47b7e7222cbcfb1eddcbf00e
3 changes: 2 additions & 1 deletion core/dbt/task/init.py
Original file line number Diff line number Diff line change
Expand Up @@ -290,7 +290,8 @@ def run(self):
if project_path.exists():
fire_event(ProjectNameAlreadyExists(name=project_name))
return
profile_name = self.create_new_project(project_name)
self.create_new_project(project_name)
profile_name = project_name

# Ask for adapter only if skip_profile_setup flag is not provided.
if not self.args.skip_profile_setup:
Expand Down