Skip to content

Commit a2deb46

Browse files
committed
Pass --defaults to WP CLI
1 parent 4d8420d commit a2deb46

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/local-env/scripts/install.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ writeFileSync( 'wp-tests-config.php', testConfig );
3737
// Once the site is available, install WordPress!
3838
wait_on( { resources: [ `tcp:localhost:${process.env.LOCAL_PORT}`] } )
3939
.then( () => {
40-
wp_cli( 'db reset --yes' );
40+
wp_cli( 'db reset --yes --defaults' );
4141
const installCommand = process.env.LOCAL_MULTISITE === 'true' ? 'multisite-install' : 'install';
4242
wp_cli( `core ${ installCommand } --title="WordPress Develop" --admin_user=admin --admin_password=password [email protected] --skip-email --url=http://localhost:${process.env.LOCAL_PORT}` );
4343
} );

0 commit comments

Comments
 (0)