fix #1288: unable to go get httprunner v4

This commit is contained in:
debugtalk
2022-05-09 19:53:16 +08:00
parent 69aa0b3ad1
commit 96ec10467b
48 changed files with 92 additions and 90 deletions
+2 -2
View File
@@ -9,7 +9,7 @@ import (
"github.com/rs/zerolog/log"
"github.com/spf13/cobra"
"github.com/httprunner/httprunner/hrp/internal/version"
"github.com/httprunner/httprunner/v4/hrp/internal/version"
)
// rootCmd represents the base command when called without any subcommands
@@ -33,7 +33,7 @@ Website: https://httprunner.com
Github: https://github.com/httprunner/httprunner
Copyright 2017 debugtalk`,
PersistentPreRun: func(cmd *cobra.Command, args []string) {
var noColor = false
noColor := false
if runtime.GOOS == "windows" {
noColor = true
}