Skip to content

Commit

Permalink
chery-pick(#17579): fix(driver): with CWD which contained spaces (#17593
Browse files Browse the repository at this point in the history
)

This PR cherry-picks the following commits:

- a5eee6d

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
  • Loading branch information
playwrightmachine and github-actions[bot] committed Sep 26, 2022
1 parent 5455a5a commit 6e8c2c5
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions utils/build/run-driver-win.cmd
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
@ECHO OFF
SETLOCAL
IF %PLAYWRIGHT_NODEJS_PATH%x == x SET PLAYWRIGHT_NODEJS_PATH="%~dp0\node.exe"
"%PLAYWRIGHT_NODEJS_PATH%" "%~dp0\package\lib\cli\cli.js" %*
@echo off
setlocal
if not defined PLAYWRIGHT_NODEJS_PATH (
set PLAYWRIGHT_NODEJS_PATH=%~dp0\node.exe
)
"""%PLAYWRIGHT_NODEJS_PATH%""" "%~dp0\package\lib\cli\cli.js" %*

0 comments on commit 6e8c2c5

Please sign in to comment.