Skip to content

Commit bf7d727

Browse files
Remove unnecessary class_exists() check
1 parent dc73f6a commit bf7d727

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scaffold-package-command.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
}
66

77
$autoload = dirname( __FILE__ ) . '/vendor/autoload.php';
8-
if ( file_exists( $autoload ) && ! class_exists( 'WP_CLI\ScaffoldPackageCommand' ) ) {
8+
if ( file_exists( $autoload ) ) {
99
require_once $autoload;
1010
}
1111

0 commit comments

Comments
 (0)