You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by ja...@apache.org on 2018/11/24 17:58:01 UTC

[cordova-paramedic] 06/06: device is real device, not emulator with device tag

This is an automated email from the ASF dual-hosted git repository.

janpio pushed a commit to branch johanlantz
in repository https://gitbox.apache.org/repos/asf/cordova-paramedic.git

commit 04b6204aa08e9f3b314326640f1c3c8e979df475
Author: Johan Lantz <jo...@telefonica.com>
AuthorDate: Fri Jun 22 12:29:48 2018 +0200

    device is real device, not emulator with device tag
---
 lib/utils/utilities.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/utils/utilities.js b/lib/utils/utilities.js
index 5970c33..4e99af6 100644
--- a/lib/utils/utilities.js
+++ b/lib/utils/utilities.js
@@ -29,7 +29,7 @@ var kill    = require('tree-kill');
 
 var HEADING_LINE_PATTERN = /List of devices/m;
 var DEVICE_ROW_PATTERN   = /(emulator|device|host)/m;
-var DEVICE_ONLY_ROW_PATTERN   = /(device)/m;
+var DEVICE_ONLY_ROW_PATTERN   = /(^(?!.*(emulator)).*device.*$)/m;
 
 var KILL_SIGNAL = 'SIGINT';
 


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org