Skip to content

Commit 2e81829

Browse files
authored
[5.x][docu] Minor sudo fix (joomla#45031)
The `CYPRESS_CACHE_FOLDER` environment variable must be set within the `sudo` command.
1 parent 87220a4 commit 2e81829

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/System/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -290,7 +290,7 @@ sudo npm run cypress:run
290290

291291
If the `root` user does not have a Cypress installation, you can use the Cypress installation cache of the current user:
292292
```
293-
CYPRESS_CACHE_FOLDER=$HOME/.cache/Cypress sudo npm run cypress:run
293+
sudo CYPRESS_CACHE_FOLDER=$HOME/.cache/Cypress npm run cypress:run
294294
```
295295

296296

0 commit comments

Comments
 (0)