Commit 5048c5ba authored by Richard Mansfield's avatar Richard Mansfield

Allow trailing spaces in language list

parent 922aa899
......@@ -72,7 +72,7 @@ else {
my %langs = ();
if ( defined $repolist ) {
foreach ( split "\n", $repolist ) {
if ( m/^([a-zA-Z_]{2,5})\s+(\S+)$/ ) {
if ( m/^([a-zA-Z_]{2,5})\s+(\S+)\s*$/ ) {
$langs{$1} = { repo => $2 };
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment