azlyth / react-native-ssh

a library that enables React Native apps to execute commands over SSH -
https://ptrvldz.me/react-native-ssh/
71 stars 15 forks source link

iOS: Reject promise if NMSSH cannot authenticate #8

Closed taneliang closed 6 years ago

taneliang commented 6 years ago

Currently, the execute promise neither resolves nor rejects if the credentials provided are wrong. This PR adds an authenticated check and a promise rejection if the credentials are wrong.

azlyth commented 6 years ago

Makes perfect sense, and clean update. Thanks.