Skip to content

Commit

Permalink
Remove check for space in REAL_NAME
Browse files Browse the repository at this point in the history
https://bugs.webkit.org/show_bug.cgi?id=261538
rdar://115458379

Reviewed by Jonathan Bedard.

Not all real names contain spaces.

* Tools/Scripts/VCSUtils.pm:
(changeLogName):
Remove check for space in name.

Canonical link: https://commits.webkit.org/268261@main
  • Loading branch information
Pascoe committed Sep 21, 2023
1 parent 9289109 commit 4c4d08c
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions Tools/Scripts/VCSUtils.pm
Original file line number Diff line number Diff line change
Expand Up @@ -2178,8 +2178,6 @@ sub changeLogName()
}

changeLogNameError("Failed to determine ChangeLog name.") unless $name;
# getpwuid seems to always succeed on windows, returning the username instead of the full name. This check will catch that case.
changeLogNameError("'$name' does not contain a space! ChangeLogs should contain your full name.") unless ($name =~ /\S\s\S/);

return $name;
}
Expand Down

0 comments on commit 4c4d08c

Please sign in to comment.