Przeglądaj źródła

build: Do not use lcov-inject first argument as target directory

All arguments are files to modify.
Guillem Jover 12 lat temu
rodzic
commit
acd884519b
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      doc/lcov-inject

+ 1 - 1
doc/lcov-inject

@@ -24,7 +24,7 @@ use warnings;
 use Cwd;
 use Cwd;
 use Devel::Cover::DB;
 use Devel::Cover::DB;
 
 
-my $dir = $ARGV[0] // 'scripts';
+my $dir = 'scripts';
 my $cwd = cwd();
 my $cwd = cwd();
 
 
 chdir $dir or die "cannot switch to $dir\n";
 chdir $dir or die "cannot switch to $dir\n";