aboutsummaryrefslogtreecommitdiff
path: root/bdep/new.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'bdep/new.cxx')
-rw-r--r--bdep/new.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/bdep/new.cxx b/bdep/new.cxx
index 64e1724..45c3234 100644
--- a/bdep/new.cxx
+++ b/bdep/new.cxx
@@ -7,7 +7,7 @@
#include <libbutl/project-name.mxx>
#include <bdep/project.hxx>
-#include <bdep/project-email.hxx>
+#include <bdep/project-author.hxx>
#include <bdep/database.hxx>
#include <bdep/diagnostics.hxx>
@@ -370,7 +370,7 @@ namespace bdep
//
string email;
{
- optional<string> r (project_email (prj));
+ optional<string> r (find_project_author_email (prj));
email = r ? move (*r) : "you@example.org";
}