Skip to content

Conversation

@decanus
Copy link
Contributor

@decanus decanus commented Oct 21, 2019

Removes the perp variable, this requires more extensive testing.

remove(peer: Addr(peripheral.identifier.bytes))
}

public func centralManager(_ central: CBCentralManager, didFailToConnect peripheral: CBPeripheral, error: Error?) {

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Similar blocks of code found in 2 locations. Consider refactoring.

}
}

public func peripheral(_ peripheral: CBPeripheral, didWriteValueFor characteristic: CBCharacteristic, error: Error?) {

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Line should be 120 characters or less: currently 122 characters

@qlty-cloud-legacy
Copy link

Code Climate has analyzed commit ef0f360 and detected 3 issues on this pull request.

Here's the issue category breakdown:

Category Count
Duplication 2
Complexity 1

View more on Code Climate.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants