mirror of
https://github.com/httprunner/httprunner.git
synced 2026-09-06 07:57:27 +08:00
feat: 新增日志
This commit is contained in:
@@ -1 +1 @@
|
|||||||
v5.0.0-beta-2409252253
|
v5.0.0-beta-2409262247
|
||||||
|
|||||||
@@ -103,6 +103,7 @@ func (hd *hdcDriver) Unlock() (err error) {
|
|||||||
}
|
}
|
||||||
re := regexp.MustCompile(`powerstatus=([\w_]+)`)
|
re := regexp.MustCompile(`powerstatus=([\w_]+)`)
|
||||||
match := re.FindStringSubmatch(screenInfo)
|
match := re.FindStringSubmatch(screenInfo)
|
||||||
|
log.Info().Msg("screen info: " + screenInfo)
|
||||||
if len(match) <= 1 {
|
if len(match) <= 1 {
|
||||||
return fmt.Errorf("failed to unlock; failed to find powerstatus")
|
return fmt.Errorf("failed to unlock; failed to find powerstatus")
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user