Skip to content

Commit

Permalink
Patch build failure
Browse files Browse the repository at this point in the history
  • Loading branch information
calda committed Jan 3, 2025
1 parent 9acaa6d commit 95fdb85
Showing 1 changed file with 6 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,9 @@ extension Stroke: StrokeShapeItem {

func copy(width: KeyframeGroup<LottieVector1D>) -> StrokeShapeItem {
// Type-erase the copy from `Stroke` to `StrokeShapeItem`
copy(width: width)
// swiftformat:disable:next redundantProperty
let copy: Stroke = copy(width: width)
return copy
}
}

Expand All @@ -34,7 +36,9 @@ extension GradientStroke: StrokeShapeItem {

func copy(width: KeyframeGroup<LottieVector1D>) -> StrokeShapeItem {
// Type-erase the copy from `GradientStroke` to `StrokeShapeItem`
copy(width: width)
// swiftformat:disable:next redundantProperty
let copy: GradientStroke = copy(width: width)
return copy
}
}

Expand Down

0 comments on commit 95fdb85

Please sign in to comment.