Skip to content

Commit 19d135a

Browse files
committed
Using constant even for loading the WP CLI command
1 parent f399659 commit 19d135a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

phpcs-diff.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,5 +18,5 @@
1818

1919
// Load the command only if we're running WordPress via WP CLI.
2020
if ( defined( 'WP_CLI' ) && WP_CLI ) {
21-
require_once( './wp-cli-command.php' );
21+
require_once( PHPCS_DIFF_PLUGIN_DIR . 'wp-cli-command.php' );
2222
}

0 commit comments

Comments
 (0)