mirror of
https://github.com/magefree/mage.git
synced 2025-12-20 02:30:08 -08:00
Remove possible newline character from author's name in gen-card.pl
This commit is contained in:
parent
977cbe538b
commit
ee19ae4096
1 changed files with 5 additions and 4 deletions
|
|
@ -35,6 +35,7 @@ my $author;
|
|||
if (-e $authorFile) {
|
||||
open (DATA, $authorFile);
|
||||
$author = <DATA>;
|
||||
chomp $author;
|
||||
close(DATA);
|
||||
} else {
|
||||
$author = 'anonymous';
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue