From 557741db513253f98cb2db8838b6433325d096c9 Mon Sep 17 00:00:00 2001 From: Mike McCready <66998419+MikeMcC399@users.noreply.github.com> Date: Sat, 28 Dec 2024 17:46:04 +0000 Subject: [PATCH] chore: eliminate src directory in non-root example --- examples/included-as-non-root/README.md | 4 ++-- examples/included-as-non-root/{src => }/cypress.config.js | 0 .../included-as-non-root/{src => }/cypress/e2e/spec.cy.js | 0 examples/included-as-non-root/{src => }/index.html | 0 4 files changed, 2 insertions(+), 2 deletions(-) rename examples/included-as-non-root/{src => }/cypress.config.js (100%) rename examples/included-as-non-root/{src => }/cypress/e2e/spec.cy.js (100%) rename examples/included-as-non-root/{src => }/index.html (100%) diff --git a/examples/included-as-non-root/README.md b/examples/included-as-non-root/README.md index bd9b1c0e69..b21ce69007 100644 --- a/examples/included-as-non-root/README.md +++ b/examples/included-as-non-root/README.md @@ -25,11 +25,11 @@ $ docker run -it --rm --entrypoint id -u node cypress/included uid=1000(node) gid=1000(node) groups=1000(node) ``` -To run the example Cypress project in the [src](./src/) subdirectory with `node` as user, change directory to `examples/included-as-non-root` and execute the following `docker run` command: +To run the example Cypress project with `node` as user, change directory to `examples/included-as-non-root` and execute the following `docker run` command: ```shell cd examples/included-as-non-root -docker run -it --rm -v ./src:/test -w /test -u node cypress/included +docker run --rm -v .:/test -w /test -u node cypress/included ``` You can expect this command to run successfully. diff --git a/examples/included-as-non-root/src/cypress.config.js b/examples/included-as-non-root/cypress.config.js similarity index 100% rename from examples/included-as-non-root/src/cypress.config.js rename to examples/included-as-non-root/cypress.config.js diff --git a/examples/included-as-non-root/src/cypress/e2e/spec.cy.js b/examples/included-as-non-root/cypress/e2e/spec.cy.js similarity index 100% rename from examples/included-as-non-root/src/cypress/e2e/spec.cy.js rename to examples/included-as-non-root/cypress/e2e/spec.cy.js diff --git a/examples/included-as-non-root/src/index.html b/examples/included-as-non-root/index.html similarity index 100% rename from examples/included-as-non-root/src/index.html rename to examples/included-as-non-root/index.html