Skip to content

Commit

Permalink
Merge pull request #80 from Codeception/fix-type-error-when-loading-s…
Browse files Browse the repository at this point in the history
…uite-settings-failed

Fix Type Error
  • Loading branch information
Naktibalda committed Jul 27, 2022
2 parents 5953446 + 8022ec7 commit a4469a9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions c3.php
Expand Up @@ -262,6 +262,7 @@ function __c3_factory($filename, $lock = false)
$settings = \Codeception\Configuration::suiteSettings($suite, \Codeception\Configuration::config());
} catch (Exception $e) {
__c3_error($e->getMessage());
$settings = array();
}
} else {
$settings = \Codeception\Configuration::config();
Expand Down

0 comments on commit a4469a9

Please sign in to comment.