Skip to content

Commit 5db313c

Browse files
committed
Extract the description from href properties
1 parent c27faef commit 5db313c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

packages/shared/ReactIODescription.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,8 @@ export function getIODescription(value: any): string {
2424
return String(value.message);
2525
} else if (typeof value.url === 'string') {
2626
return value.url;
27+
} else if (typeof value.href === 'string') {
28+
return value.href;
2729
} else if (typeof value.command === 'string') {
2830
return value.command;
2931
} else if (

0 commit comments

Comments
 (0)