Pārlūkot izejas kodu

Fix issue with --port not being used

George S. Baugh 4 gadi atpakaļ
vecāks
revīzija
176a143a1a
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. 1 1
      lib/Playwright.pm

+ 1 - 1
lib/Playwright.pm

@@ -489,7 +489,7 @@ sub _start_server ( $port, $timeout, $debug ) {
         return $pid;
     }
 
-    exec( $node_bin, $server_bin, "-p", $port, $debug );
+    exec( $node_bin, $server_bin, "--port", $port, $debug );
 }
 
 1;