mirror of
https://github.com/magefree/mage.git
synced 2025-12-20 10:40:06 -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) {
|
if (-e $authorFile) {
|
||||||
open (DATA, $authorFile);
|
open (DATA, $authorFile);
|
||||||
$author = <DATA>;
|
$author = <DATA>;
|
||||||
|
chomp $author;
|
||||||
close(DATA);
|
close(DATA);
|
||||||
} else {
|
} else {
|
||||||
$author = 'anonymous';
|
$author = 'anonymous';
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue