Skip to content

Commit e76c632

Browse files
committed
ignore global config when invoking WP-CLI
1 parent 3068507 commit e76c632

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Phakefile.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
function invoke_wp_cli( $cmd, $app ) {
55
ob_start();
6-
system( $cmd, $return_code );
6+
system( "WP_CLI_CONFIG_PATH=/dev/null $cmd", $return_code );
77
$json = ob_get_clean();
88

99
if ( $return_code ) {

0 commit comments

Comments
 (0)