mirror of
https://github.com/go-task/task.git
synced 2026-06-11 09:51:50 +00:00
fix: version check (#1663)
* fix: version check * refactor following review
This commit is contained in:
@@ -58,7 +58,7 @@ func run() error {
|
||||
entrypoint := flags.Entrypoint
|
||||
|
||||
if flags.Version {
|
||||
fmt.Printf("Task version: %s\n", ver.GetVersion())
|
||||
fmt.Printf("Task version: %s\n", ver.GetVersionWithSum())
|
||||
return nil
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user