mirror of
https://github.com/httprunner/httprunner.git
synced 2026-07-12 16:01:27 +08:00
change: remove hrun command
This commit is contained in:
@@ -19,7 +19,7 @@ var scaffoldCmd = &cobra.Command{
|
||||
},
|
||||
RunE: func(cmd *cobra.Command, args []string) error {
|
||||
if !ignorePlugin && !genPythonPlugin && !genGoPlugin {
|
||||
return errors.New("please select function plugin type")
|
||||
return errors.New("please specify function plugin type")
|
||||
}
|
||||
|
||||
var pluginType scaffold.PluginType
|
||||
|
||||
@@ -153,6 +153,7 @@ func (r *HRPRunner) Run(testcases ...ITestCase) error {
|
||||
// load all testcases
|
||||
testCases, err := loadTestCases(testcases...)
|
||||
if err != nil {
|
||||
log.Error().Err(err).Msg("failed to load testcases")
|
||||
return err
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user