Skip to content

Commit de7cef0

Browse files
committed
MAGETWO-51544: [Github] Cannot upgrade to Magento 2.0.4 #4013
- Minor update to address code review comment. - Moved variable assignment towards end of the block
1 parent 2aa58df commit de7cef0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

setup/src/Magento/Setup/Model/Cron/ReadinessCheck.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,8 +131,8 @@ public function runReadinessCheck()
131131
$resultJsonRawData[self::KEY_FILE_PATHS][self::KEY_LIST] = $filePaths;
132132
} catch (\Exception $e) {
133133
$errorMsg = $e->getMessage();
134-
$returnValue = false;
135134
$resultJsonRawData[self::KEY_FILE_PATHS][self::KEY_LIST] = [];
135+
$returnValue = false;
136136
}
137137
$resultJsonRawData[self::KEY_FILE_PATHS][self::KEY_ERROR] = $errorMsg;
138138

0 commit comments

Comments
 (0)