Skip to content

Commit 1a63bff

Browse files
committed
Remove dead code (?)
1 parent e5fb131 commit 1a63bff

1 file changed

Lines changed: 1 addition & 10 deletions

File tree

src/Rewrite_Command.php

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -164,16 +164,7 @@ public function structure( $args, $assoc_args ) {
164164
}
165165
}
166166

167-
$process_run = WP_CLI::runcommand(
168-
$cmd,
169-
[
170-
'return' => 'all',
171-
]
172-
);
173-
if ( ! empty( $process_run->stderr ) ) {
174-
// Strip "Warning: "
175-
WP_CLI::warning( substr( $process_run->stderr, 9 ) );
176-
}
167+
WP_CLI::runcommand( $cmd );
177168
}
178169

179170
/**

0 commit comments

Comments
 (0)