Skip to content

Commit d2127d0

Browse files
author
Andrea Falzetti
committed
clean up
1 parent c61e094 commit d2127d0

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

components/gitpod-cli/cmd/root.go

-5
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ import (
99
"os"
1010
"path/filepath"
1111
"strings"
12-
"time"
1312

1413
"github.com/spf13/cobra"
1514
)
@@ -21,12 +20,8 @@ var rootCmd = &cobra.Command{
2120

2221
var noColor bool
2322

24-
var startTime time.Time
25-
2623
// Execute runs the root command
2724
func Execute() {
28-
startTime = time.Now()
29-
3025
entrypoint := strings.TrimPrefix(filepath.Base(os.Args[0]), "gp-")
3126
for _, c := range rootCmd.Commands() {
3227
if c.Name() == entrypoint {

0 commit comments

Comments
 (0)