Skip to content

Commit cbb29ce

Browse files
Merge pull request #326 from Iterable/bug/mob-1440-cocoapod
[MOB-1440] - Fix cocoapos warning
2 parents e8c083d + 6eaf189 commit cbb29ce

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

.github/workflows/build-and-test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
xcodebuild test -project swift-sdk.xcodeproj -scheme swift-sdk -sdk iphonesimulator -destination 'platform=iOS Simulator,name=iPhone 11' -enableCodeCoverage YES CODE_SIGNING_REQUIRED=NO | xcpretty || exit 1
1414
1515
- name: CocoaPods lint
16-
run: pod lib lint --allow-warnings
16+
run: pod lib lint
1717

1818
- name: Upload coverage report to codecov.io
1919
run: bash <(curl -s https://codecov.io/bash) -X gcov -J 'IterableSDK' -J 'IterableAppExtensions'

swift-sdk/Internal/Dwifft/Dwifft.swift

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -39,10 +39,10 @@ enum DiffStep<Value> : CustomDebugStringConvertible {
3939
/// The value to be inserted or deleted.
4040
public var value: Value {
4141
switch(self) {
42-
case let .insert(j):
43-
return j.1
44-
case let .delete(j):
45-
return j.1
42+
case .insert(_, let value):
43+
return value
44+
case .delete(_, let value):
45+
return value
4646
}
4747
}
4848
}

0 commit comments

Comments
 (0)