Skip to content

Commit

Permalink
use param files .yaml like .yml (Codeception#5218)
Browse files Browse the repository at this point in the history
  • Loading branch information
kardagan authored and DavertMik committed Oct 8, 2018
1 parent ce14348 commit c13dc47
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Codeception/Lib/ParamsLoader.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 28,7 @@ public function load($paramStorage)
}

try {
if (preg_match('~\.yml$~', $paramStorage)) {
if (preg_match('~\.ya?ml$~', $paramStorage)) {
return $this->loadYamlFile();
}

Expand Down

0 comments on commit c13dc47

Please sign in to comment.