Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

regexp bug fix #2

Merged
merged 1 commit into from

2 participants

@shyouhei

俺のホームディレクトリが urabe.shohei の為すべてのファイルの拡張子が .shoheiと判定されるというかっこいいものの困るバグの修正です

@xaicron xaicron merged commit 0b892aa into xaicron:master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
This page is out of date. Refresh to see the latest.
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/App/envfile.pm
View
2  lib/App/envfile.pm
@@ -53,7 +53,7 @@ sub parse_envfile {
sub _try_any_config_file {
my ($self, $file) = @_;
- my ($ext) = $file =~ /\.(\w+)/;
+ my ($ext) = $file =~ /\.(\w+)$/;
if (my $type = $EXTENTIONS_MAP->{lc($ext || '')}) {
my $env;
if ($type eq 'Perl') {
Something went wrong with that request. Please try again.