Commit 682e62ed authored by Darshan Sawardekar's avatar Darshan Sawardekar
Browse files

Fixes newline

parent d66f88e7
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -122,6 +122,7 @@ class S3_Uploads_WP_CLI_Command extends WP_CLI_Command {

		foreach ( $files as $file ) {
			if ( file_exists( $path = $old_upload_dir['basedir'] . '/' . $file ) ) {

				if ( ! copy( $path, $upload_dir['basedir'] . '/' . $file ) ) {
					WP_CLI::line( sprintf( 'Failed to moved %s to S3', $file ) );
				} else {