1 parent b088349 commit c57fbd8Copy full SHA for c57fbd8
1 file changed
.github/workflows/usbip-authenticator.yml
@@ -49,7 +49,10 @@ from typing import Optional
49
50
51
def find_bus_id(output: str) -> Optional[str]:
52
- pattern = re.compile(r"^\s*-\s*([0-9]+-[0-9]+):.*Feitian", re.MULTILINE)
+ pattern = re.compile(
53
+ r"^\s*(?:-\s*busid\s+)?([0-9]+-[0-9]+)(?::|\s).*Feitian",
54
+ re.MULTILINE,
55
+ )
56
match = pattern.search(output)
57
if match:
58
return match.group(1)
0 commit comments