We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
If the ref doesn't exist in the repository, but existing refs start with ref they will be returned as an array. I
julia> GitHub.reference("JuliaLang/julia", "heads/v"; handle_error=false) ERROR: MethodError: no method matching Reference(::Array{Any,1}) Closest candidates are: Reference(::Any, ::Any, ::Any) at /home/kc/.julia/packages/GitHub/hKBtB/src/git/reference.jl:2 Reference(::Union{Nothing, String}, ::Union{Nothing, HTTP.URIs.URI}, ::Union{Nothing, Dict}) at /home/kc/.julia/packages/GitHub/hKBtB/src/git/reference.jl:2 Reference(::Dict) at /home/kc/.julia/packages/GitHub/hKBtB/src/git/reference.jl:7 Stacktrace: [1] #reference#219(::Base.Iterators.Pairs{Symbol,Bool,Tuple{Symbol},NamedTuple{(:handle_error,),Tuple{Bool}}}, ::typeof(reference), ::GitHub.GitHubWebAPI, ::String, ::String) at /home/kc/.julia/packages/GitHub/hKBtB/src/git/reference.jl:13 [2] #reference at ./none:0 [inlined] [3] #reference#220 at ./none:0 [inlined] [4] (::GitHub.var"#kw##reference")(::NamedTuple{(:handle_error,),Tuple{Bool}}, ::typeof(reference), ::String, ::String) at ./none:0 [5] top-level scope at REPL[8]:1
The text was updated successfully, but these errors were encountered:
143
Sorry, something went wrong.
No branches or pull requests
The text was updated successfully, but these errors were encountered: