projects
/
zeal.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
adb8c79
)
Fix remote documents in Zeal::Docset
author
Marius Gavrilescu
<marius@ieval.ro>
Tue, 30 Dec 2014 21:27:50 +0000
(23:27 +0200)
committer
Marius Gavrilescu
<marius@ieval.ro>
Tue, 30 Dec 2014 21:27:50 +0000
(23:27 +0200)
lib/Zeal/Docset.pm
patch
|
blob
|
blame
|
history
diff --git
a/lib/Zeal/Docset.pm
b/lib/Zeal/Docset.pm
index d280a505e303fb7177a6109e38e571d5d6011c11..3a54621a2cade5ea3c9be240f58116e8a4fa1355 100644
(file)
--- a/
lib/Zeal/Docset.pm
+++ b/
lib/Zeal/Docset.pm
@@
-45,7
+45,7
@@
sub _blessdocs {
sub fetch {
my ($self, $path) = @_;
- return HTTP::Tiny->new->get($path) if $path =~ /^http:/s;
+ return HTTP::Tiny->new->get($path)
->{content}
if $path =~ /^http:/s;
my $docroot = catdir $self->path, 'Contents', 'Resources', 'Documents';
$path = rel2abs $path, $docroot;
scalar read_file $path
This page took
0.021121 seconds
and
4
git commands to generate.