Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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 (
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: use all CAPITAL letters for the keywords?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

microsoft does use lowercase in the docs, so it seems better like that: https://learn.microsoft.com/en-us/windows-server/administration/windows-commands/if

set PLAYWRIGHT_NODEJS_PATH=%~dp0\node.exe
)
"""%PLAYWRIGHT_NODEJS_PATH%""" "%~dp0\package\lib\cli\cli.js" %*