diff options
author | Eric Wong <e@80x24.org> | 2016-12-25 06:52:03 +0000 |
---|---|---|
committer | Eric Wong <e@80x24.org> | 2016-12-25 10:27:56 +0000 |
commit | 292ca34140489da2c3458e1d45da5a9ae4af540d (patch) | |
tree | 3d1218282af7f085ac4d8cad947fce9c655054f1 /examples | |
parent | 1aff1f07b5f6acc661aefc0d6fc1d744e6f8025d (diff) | |
download | public-inbox-292ca34140489da2c3458e1d45da5a9ae4af540d.tar.gz |
Fewer conditionals means theres fewer code paths to test and makes things easier-to-read.
Diffstat (limited to 'examples')
-rw-r--r-- | examples/public-inbox.psgi | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/examples/public-inbox.psgi b/examples/public-inbox.psgi index e97f917f..98cde92d 100644 --- a/examples/public-inbox.psgi +++ b/examples/public-inbox.psgi @@ -14,6 +14,7 @@ my $www = PublicInbox::WWW->new; # share the public-inbox code itself: my $src = $ENV{SRC_GIT_DIR}; # '/path/to/public-inbox.git' +$src = PublicInbox::Git->new($src) if defined $src; builder { eval { |