Skip to content

Commit cf0119b

Browse files
committed
Fix misnamed var $cmd_data
1 parent 3740d44 commit cf0119b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/S3/Deployer.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,7 @@ public function uploadFilesIter( \Iterator $path_infos ): void {
193193
&& ! isset( $cmd_data['SourceFile'] )
194194
&& ! isset( $cmd_data['WebsiteRedirectLocation'] )
195195
) {
196-
$msg = 'Invalid deploy data: ' . json_encode( $file );
196+
$msg = 'Invalid deploy data: ' . json_encode( $cmd_data );
197197
if ( defined( 'STATIC_DEPLOY_ESCAPE_EXCEPTIONS' )
198198
&& STATIC_DEPLOY_ESCAPE_EXCEPTIONS ) {
199199
throw WsLog::ex( esc_html( $msg ) );

0 commit comments

Comments
 (0)