File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
setup/src/Magento/Setup/Model/Cron Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -36,7 +36,7 @@ class ReadinessCheck
3636 /**#@-*/
3737
3838 /**
39- * @var DbValidator
39+ * @var \Magento\Setup\Validator\ DbValidator
4040 */
4141 private $ dbValidator ;
4242
@@ -138,6 +138,7 @@ public function runReadinessCheck()
138138
139139 // Prepare list of magento specific files and directory paths for updater application to check write
140140 // permissions
141+ $ errorMessage = '' ;
141142 try {
142143 $ filePaths = $ this ->basePackageInfo ->getPaths ();
143144 $ resultJsonRawData [self ::KEY_FILE_PATHS ][self ::KEY_LIST ] = $ filePaths ;
@@ -146,7 +147,7 @@ public function runReadinessCheck()
146147 $ resultJsonRawData [self ::KEY_FILE_PATHS ][self ::KEY_LIST ] = [];
147148 $ errorLogMessages [] = $ errorMessage ;
148149 }
149- $ resultJsonRawData [self ::KEY_FILE_PATHS ][self ::KEY_ERROR ] = $ errorMsg ;
150+ $ resultJsonRawData [self ::KEY_FILE_PATHS ][self ::KEY_ERROR ] = $ errorMessage ;
150151
151152 // updates timestamp
152153 $ write = $ this ->filesystem ->getDirectoryWrite (\Magento \Framework \App \Filesystem \DirectoryList::VAR_DIR );
You can’t perform that action at this time.
0 commit comments