Skip to content

Commit

Permalink
fix: no active iOS device case in logIOS (#410)
Browse files Browse the repository at this point in the history
  • Loading branch information
Yuri Kulikov authored and thymikee committed May 31, 2019
1 parent 3770603 commit 2b19fc8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/platform-ios/src/commands/logIOS/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ async function logIOS() {
const {devices} = JSON.parse(rawDevices);

const device = findAvailableDevice(devices);
if (device === undefined) {
if (device === null) {
logger.error('No active iOS device found');
return;
}
Expand Down

0 comments on commit 2b19fc8

Please sign in to comment.