mirror of
https://github.com/httprunner/httprunner.git
synced 2026-09-06 16:07:45 +08:00
fix: trim version
This commit is contained in:
@@ -2,7 +2,12 @@ package version
|
|||||||
|
|
||||||
import (
|
import (
|
||||||
_ "embed"
|
_ "embed"
|
||||||
|
"strings"
|
||||||
)
|
)
|
||||||
|
|
||||||
//go:embed VERSION
|
//go:embed VERSION
|
||||||
var VERSION string
|
var VERSION string
|
||||||
|
|
||||||
|
func init() {
|
||||||
|
VERSION = strings.TrimSpace(VERSION)
|
||||||
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user