We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e9f573f commit 78f3206Copy full SHA for 78f3206
src/android/utils/adb.ts
@@ -289,7 +289,7 @@ export function parseAdbDevices(output: string): Device[] {
289
290
for (const line of lines) {
291
if (line && !line.startsWith('List')) {
292
- const m = line.match(re);
+ const m = line.replace(/\r$/, '').match(re);
293
294
if (m) {
295
const [, serial, state, description] = m;
0 commit comments