Skip to content

Commit

Permalink
ci: Enable Xcode11 build (#19)
Browse files Browse the repository at this point in the history
  • Loading branch information
djones6 authored Jul 17, 2019
1 parent 637d506 commit a709124
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
9 changes: 4 additions & 5 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,11 +47,10 @@ matrix:
- os: osx
osx_image: xcode10.2
sudo: required
# Pending Travis Xcode 11 image
# - os: osx
# osx_image: xcode11
# sudo: required
# env: SWIFT_SNAPSHOT=$SWIFT_DEVELOPMENT_SNAPSHOT
- os: osx
osx_image: xcode11
sudo: required
env: SWIFT_SNAPSHOT=$SWIFT_DEVELOPMENT_SNAPSHOT

before_install:
- git clone https://github.com/IBM-Swift/Package-Builder.git
Expand Down
2 changes: 1 addition & 1 deletion Sources/CryptorECC/ECPublicKey.swift
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ public class ECPublicKey {
*/
public convenience init(key: String) throws {
let strippedKey = String(key.filter { !" \n\t\r".contains($0) })
var pemComponents = strippedKey.components(separatedBy: "-----")
let pemComponents = strippedKey.components(separatedBy: "-----")
guard pemComponents.count == 5 else {
throw ECError.invalidPEMString
}
Expand Down

0 comments on commit a709124

Please sign in to comment.