Skip to content

Commit 03a0b79

Browse files
committed
fix: delete extra use
1 parent 15da8e4 commit 03a0b79

1 file changed

Lines changed: 0 additions & 7 deletions

File tree

internal/command/root.go

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,20 +2,14 @@ package command
22

33
import (
44
"context"
5-
"errors"
65
"os"
76

87
"github.com/charmbracelet/fang"
98
"github.com/misha-ssh/cli/configs/envconst"
10-
"github.com/misha-ssh/cli/internal/component/output"
119
"github.com/misha-ssh/cli/internal/version"
1210
"github.com/spf13/cobra"
1311
)
1412

15-
var (
16-
errRunApp = errors.New("error running app")
17-
)
18-
1913
// Run Start app with cobra cmd
2014
func Run() {
2115
cmd := &cobra.Command{
@@ -37,7 +31,6 @@ func Run() {
3731
cmd,
3832
fang.WithVersion(version.Get()),
3933
); err != nil {
40-
output.Error(errRunApp.Error())
4134
os.Exit(1)
4235
}
4336
}

0 commit comments

Comments
 (0)