Skip to content

Commit faa892b

Browse files
committed
Lint fix
1 parent 71aaf21 commit faa892b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/Config_Command.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
use WP_CLI\ExitException;
44
use WP_CLI\Utils;
5+
use WP_CLI\Path;
56
use WP_CLI\WpOrgApi;
67

78
/**
@@ -295,7 +296,7 @@ public function create( $_, $assoc_args ) {
295296
$assoc_args['extra-php'] = file_get_contents( 'php://stdin' );
296297
}
297298

298-
$command_root = Utils\phar_safe_path( dirname( __DIR__ ) );
299+
$command_root = Path::phar_safe( dirname( __DIR__ ) );
299300
$out = Utils\mustache_render( "{$command_root}/templates/wp-config.mustache", $assoc_args );
300301

301302
$wp_config_file_name = basename( $assoc_args['config-file'] );

0 commit comments

Comments
 (0)