Kaynağa Gözat

Fix issue with --port not being used

George S. Baugh 4 yıl önce
ebeveyn
işleme
176a143a1a
1 değiştirilmiş dosya ile 1 ekleme ve 1 silme
  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;