Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

use read_conf_file in get_secure to handle blank files etc.

  • Loading branch information...
commit 2acbdf2b4c5f1a9045e76eb45be0e3938a39bc6f 1 parent 059f161
@jonswar authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/Poet/Conf.pm
View
2  lib/Poet/Conf.pm
@@ -290,7 +290,7 @@ method _get_secure_conf () {
'conf.secure_conf_file' => $self->conf_dir . "/secure.cfg" );
$secure_confs{"$self"} =
( -f $secure_conf_file )
- ? YAML::XS::LoadFile($secure_conf_file)
+ ? $self->read_conf_file($secure_conf_file)
: {};
}
return $secure_confs{"$self"};
Please sign in to comment.
Something went wrong with that request. Please try again.