Skip to content

Commit

Permalink
[5.x][docu] Minor sudo fix (joomla#45031)
Browse files Browse the repository at this point in the history
The `CYPRESS_CACHE_FOLDER` environment variable must be set within the `sudo` command.
  • Loading branch information
muhme authored Feb 28, 2025
1 parent 87220a4 commit 2e81829
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/System/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -290,7 +290,7 @@ sudo npm run cypress:run

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


Expand Down

0 comments on commit 2e81829

Please sign in to comment.