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
This commit is contained in:
Weston Ruter 2022-09-28 21:54:46 +00:00
parent d6bae0ceda
commit 30c03e4e1e

View File

@ -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 ) {