From 30c03e4e1e19e674046243849a53e6917f468ab5 Mon Sep 17 00:00:00 2001 From: Weston Ruter Date: Wed, 28 Sep 2022 21:54:46 +0000 Subject: [PATCH] Build/Test Tools: Remove extraneous `--` from `docker-compose up` command. This end of command options mark can be erreonously interpreted as an (invalid) container name. Props westonruter, saggre Fixes #56550 git-svn-id: https://develop.svn.wordpress.org/trunk@54350 602fd350-edb4-49c9-b593-d223f7449a82 --- tools/local-env/scripts/start.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/local-env/scripts/start.js b/tools/local-env/scripts/start.js index 83250ab9a4..35edf7f96f 100644 --- a/tools/local-env/scripts/start.js +++ b/tools/local-env/scripts/start.js @@ -8,7 +8,7 @@ dotenvExpand.expand( dotenv.config() ); const containers = ( process.env.LOCAL_PHP_MEMCACHED === 'true' ) ? 'wordpress-develop memcached' : 'wordpress-develop'; -execSync( `docker-compose up -d -- ${containers}`, { stdio: 'inherit' } ); +execSync( `docker-compose up -d ${containers}`, { stdio: 'inherit' } ); // If Docker Toolbox is being used, we need to manually forward LOCAL_PORT to the Docker VM. if ( process.env.DOCKER_TOOLBOX_INSTALL_PATH ) {