diff options
| author | Stefan Majewsky <majewsky@gmx.net> | 2017-05-09 22:00:15 +0200 |
|---|---|---|
| committer | Stefan Majewsky <majewsky@gmx.net> | 2017-05-09 22:00:15 +0200 |
| commit | 58a4af83e0caf09744dd698b5be937205b81e733 (patch) | |
| tree | bcb6b4e587baaabce07c67e971e8459445eef367 /main.go | |
| parent | a92faf7689fa01595fd613ddd3880e9c301ed558 (diff) | |
| download | gofu-58a4af83e0caf09744dd698b5be937205b81e733.tar.gz | |
refactor package rtree towards testability
Diffstat (limited to 'main.go')
| -rw-r--r-- | main.go | 9 |
1 files changed, 0 insertions, 9 deletions
@@ -23,19 +23,10 @@ import ( "os" "path/filepath" - "github.com/majewsky/gofu/pkg/cli" - "github.com/majewsky/gofu/pkg/earlyerrors" "github.com/majewsky/gofu/pkg/rtree" ) func main() { - if len(earlyerrors.Get()) > 0 { - for _, msg := range earlyerrors.Get() { - cli.Interface.ShowError(msg) - } - os.Exit(255) - } - os.Exit(execApplet(filepath.Base(os.Args[0]), os.Args[1:], true)) } |
