Skip to content

Commit

Permalink
MAGETWO-51544: [Github] Cannot upgrade to Magento 2.0.4 #4013
Browse files Browse the repository at this point in the history
- Minor update to address code review comment.
- Moved variable assignment towards end of the block
  • Loading branch information
ark99 committed Apr 14, 2016
1 parent 2aa58df commit de7cef0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion setup/src/Magento/Setup/Model/Cron/ReadinessCheck.php
Original file line number Diff line number Diff line change
Expand Up @@ -131,8 +131,8 @@ public function runReadinessCheck()
$resultJsonRawData[self::KEY_FILE_PATHS][self::KEY_LIST] = $filePaths;
} catch (\Exception $e) {
$errorMsg = $e->getMessage();
$returnValue = false;
$resultJsonRawData[self::KEY_FILE_PATHS][self::KEY_LIST] = [];
$returnValue = false;
}
$resultJsonRawData[self::KEY_FILE_PATHS][self::KEY_ERROR] = $errorMsg;

Expand Down

0 comments on commit de7cef0

Please sign in to comment.