We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8fc0e0d commit d7e6a37Copy full SHA for d7e6a37
scripts/buildtable.pl
@@ -153,7 +153,8 @@
153
}
154
} elsif ($field eq 'Comments-URI') {
155
if (not $found{'Comments-URI'}) {
156
- die unless $val eq sprintf('https://github.com/bitcoin/bips/wiki/Comments:BIP-%04d', $bipnum);
+ my $first_comments_uri = sprintf('https://github.com/bitcoin/bips/wiki/Comments:BIP-%04d', $bipnum);
157
+ die "First Comments-URI must be exactly \"$first_comments_uri\" in $fn" unless $val eq $first_comments_uri;
158
159
} elsif (exists $DateField{$field}) {
160
die "Invalid date format in $fn" unless $val =~ /^20\d{2}\-(?:0\d|1[012])\-(?:[012]\d|30|31)$/;
0 commit comments