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 5487058 commit 0c6d572Copy full SHA for 0c6d572
src/tools/add_commit_links.pl
@@ -50,6 +50,8 @@ sub process_file
50
# Get major version number from the file name.
51
$file =~ m/-(\d+)\./;
52
my $major_version = $1;
53
+ die "file name $file is not in the expected format\n"
54
+ unless defined $major_version;
55
56
open(my $fh, '<', $file) || die "could not open file $file: $!\n";
57
open(my $tfh, '>', $tmpfile) || die "could not open file $tmpfile: $!\n";
0 commit comments