mirror of
https://github.com/httprunner/httprunner.git
synced 2026-09-04 23:16:57 +08:00
change: remove unused code
This commit is contained in:
@@ -1 +1 @@
|
|||||||
v5.0.0+2411201735
|
v5.0.0+2411211916
|
||||||
|
|||||||
@@ -576,9 +576,6 @@ func (dExt *DriverExt) DoAction(action MobileAction) (err error) {
|
|||||||
}()
|
}()
|
||||||
|
|
||||||
switch action.Method {
|
switch action.Method {
|
||||||
case ACTION_LOG:
|
|
||||||
// TODO: stat action
|
|
||||||
log.Info().Str("action", action.Params.(string)).Msg("log uixt action")
|
|
||||||
case ACTION_AppInstall:
|
case ACTION_AppInstall:
|
||||||
if appUrl, ok := action.Params.(string); ok {
|
if appUrl, ok := action.Params.(string); ok {
|
||||||
if err = dExt.InstallByUrl(appUrl, WithRetryTimes(action.MaxRetryTimes)); err != nil {
|
if err = dExt.InstallByUrl(appUrl, WithRetryTimes(action.MaxRetryTimes)); err != nil {
|
||||||
|
|||||||
Reference in New Issue
Block a user