Skip to content

Commit 8da0ea4

Browse files
nylenschlessera
andauthored
Remove duplicate assignment (2/2)
Co-Authored-By: Alain Schlesser <alain.schlesser@gmail.com>
1 parent f8d50a7 commit 8da0ea4

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

src/Core_Command.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,6 @@ public function download( $args, $assoc_args ) {
161161

162162
if ( $from_url ) {
163163
$version = null;
164-
$download_url = $args[0];
165164
if ( isset( $assoc_args['version'] ) ) {
166165
WP_CLI::error( 'Version option is not available for URL downloads.' );
167166
}

0 commit comments

Comments
 (0)