Skip to content

Commit 45954e9

Browse files
committed
Revert "Try reverting change to wp_cli()"
This reverts commit ec71151.
1 parent ec71151 commit 45954e9

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

tools/local-env/scripts/install.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,5 @@ wait_on( {
6161
* @param {string} cmd The WP-CLI command to run.
6262
*/
6363
function wp_cli( cmd ) {
64-
const composeFiles = local_env_utils.get_compose_files();
65-
66-
execSync( `docker compose ${composeFiles} run --quiet-pull --rm cli ${cmd} --path=/var/www/${process.env.LOCAL_DIR}`, { stdio: 'inherit' } );
64+
execSync( `npm --silent run env:cli -- ${cmd} --path=/var/www/${process.env.LOCAL_DIR}`, { stdio: 'inherit' } );
6765
}

0 commit comments

Comments
 (0)