Skip to content
Permalink
Browse files
237: Add pull request author's full name to generated webrev
Reviewed-by: rwestberg
  • Loading branch information
edvbld committed Jan 21, 2020
1 parent d206029 commit 633d79f64880b021969b6bd5ed109d291f855f56
Showing 1 changed file with 3 additions and 1 deletion.
@@ -62,9 +62,11 @@ class WebrevStorage {

private void generate(PullRequest pr, Repository localRepository, Path folder, Hash base, Hash head) throws IOException {
Files.createDirectories(folder);
var fullName = pr.author().fullName();
var builder = Webrev.repository(localRepository)
.output(folder)
.version(Version.fromManifest().orElse("unknown"));
.version(Version.fromManifest().orElse("unknown"))
.username(fullName);

var issue = Issue.fromString(pr.title());
if (issue.isPresent()) {

0 comments on commit 633d79f

Please sign in to comment.