mapbox / mapbox-directions-swift

Traffic-aware directions and map matching in Swift on iOS, macOS, tvOS, watchOS, and Linux
https://www.mapbox.com/navigation/
ISC License
178 stars 87 forks source link

Fix possible crash if only one element array was passed to DirectionOptions #797

Closed kried closed 1 year ago

codecov[bot] commented 1 year ago

Codecov Report

Merging #797 (a2cf98c) into main (1f87861) will increase coverage by 0.00%. The diff coverage is 100.00%.

Impacted file tree graph

@@           Coverage Diff           @@
##             main     #797   +/-   ##
=======================================
  Coverage   84.25%   84.25%           
=======================================
  Files          57       57           
  Lines        4870     4872    +2     
=======================================
+ Hits         4103     4105    +2     
  Misses        767      767           
Impacted Files Coverage Δ
Sources/MapboxDirections/DirectionsOptions.swift 94.52% <100.00%> (+0.03%) :arrow_up: