Skip to content

Commit ce55cdf

Browse files
authored
fix: update path to cli.js in run-driver-win.cmd (#29538)
This was missed in #29131 Fixes the following error in java on windows: ``` Error: Cannot find module 'C:\Users\RUNNER~1\AppData\Local\Temp\playwright-java-910508779801292985\package\lib\cli\cli.js' at Module._resolveFilename (node:internal/modules/cjs/loader:1144:15) at Module._load (node:internal/modules/cjs/loader:985:27) at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:135:12) at node:internal/main/run_main_module:28:49 { code: 'MODULE_NOT_FOUND', requireStack: [] } ```
1 parent f3fde99 commit ce55cdf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

utils/build/run-driver-win.cmd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
@echo off
22
setlocal
33
if not defined PLAYWRIGHT_NODEJS_PATH set PLAYWRIGHT_NODEJS_PATH=%~dp0node.exe
4-
"%PLAYWRIGHT_NODEJS_PATH%" "%~dp0package\lib\cli\cli.js" %*
4+
"%PLAYWRIGHT_NODEJS_PATH%" "%~dp0package\cli.js" %*

0 commit comments

Comments
 (0)