Skip to content

Commit

Permalink
Fix deprecation warning in Pkg caused by #7919
Browse files Browse the repository at this point in the history
  • Loading branch information
ivarne committed Sep 10, 2014
1 parent 20cb87a commit 11cfde3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion base/pkg/github.jl
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ function curl(url::String, opts::Cmd=``)
header = (String=>String)[]
for line in eachline(out)
if !ismatch(r"^\s*$",line)
(k,v) = split(line, r":\s*", 2)
(k,v) = split(line, r":\s*"; limit=2)
header[k] = v
continue
end
Expand Down

1 comment on commit 11cfde3

@ivarne
Copy link
Member Author

@ivarne ivarne commented on 11cfde3 Sep 10, 2014

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That was kind of an embarrassing discovery.

Please sign in to comment.