Skip to content

Commit a4469a9

Browse files
authored
Merge pull request #80 from Codeception/fix-type-error-when-loading-suite-settings-failed
Fix Type Error
2 parents 5953446 + 8022ec7 commit a4469a9

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

c3.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -262,6 +262,7 @@ function __c3_factory($filename, $lock = false)
262262
$settings = \Codeception\Configuration::suiteSettings($suite, \Codeception\Configuration::config());
263263
} catch (Exception $e) {
264264
__c3_error($e->getMessage());
265+
$settings = array();
265266
}
266267
} else {
267268
$settings = \Codeception\Configuration::config();

0 commit comments

Comments
 (0)