fix: WDA tests

This commit is contained in:
lilong.129
2025-02-17 22:02:12 +08:00
parent 3ae314d0ba
commit e985697227
12 changed files with 298 additions and 327 deletions

View File

@@ -50,7 +50,7 @@ func sourceHandler(c *gin.Context) {
c.Abort()
return
}
source, err := dExt.Source(option.NewSourceOption().WithProcessName(app.PackageName))
source, err := dExt.Source(option.WithProcessName(app.PackageName))
if err != nil {
log.Err(err).Msg(fmt.Sprintf("[%s]: failed to get source %s", c.HandlerName(), app.PackageName))
c.JSON(http.StatusInternalServerError,