File tree 1 file changed +3
-2
lines changed
setup/src/Magento/Setup/Model/Cron
1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -36,7 +36,7 @@ class ReadinessCheck
36
36
/**#@-*/
37
37
38
38
/**
39
- * @var DbValidator
39
+ * @var \Magento\Setup\Validator\ DbValidator
40
40
*/
41
41
private $ dbValidator ;
42
42
@@ -138,6 +138,7 @@ public function runReadinessCheck()
138
138
139
139
// Prepare list of magento specific files and directory paths for updater application to check write
140
140
// permissions
141
+ $ errorMessage = '' ;
141
142
try {
142
143
$ filePaths = $ this ->basePackageInfo ->getPaths ();
143
144
$ resultJsonRawData [self ::KEY_FILE_PATHS ][self ::KEY_LIST ] = $ filePaths ;
@@ -146,7 +147,7 @@ public function runReadinessCheck()
146
147
$ resultJsonRawData [self ::KEY_FILE_PATHS ][self ::KEY_LIST ] = [];
147
148
$ errorLogMessages [] = $ errorMessage ;
148
149
}
149
- $ resultJsonRawData [self ::KEY_FILE_PATHS ][self ::KEY_ERROR ] = $ errorMsg ;
150
+ $ resultJsonRawData [self ::KEY_FILE_PATHS ][self ::KEY_ERROR ] = $ errorMessage ;
150
151
151
152
// updates timestamp
152
153
$ write = $ this ->filesystem ->getDirectoryWrite (\Magento \Framework \App \Filesystem \DirectoryList::VAR_DIR );
You can’t perform that action at this time.
0 commit comments