From 58a4af83e0caf09744dd698b5be937205b81e733 Mon Sep 17 00:00:00 2001 From: Stefan Majewsky Date: Tue, 9 May 2017 22:00:15 +0200 Subject: refactor package rtree towards testability --- main.go | 9 --------- 1 file changed, 9 deletions(-) (limited to 'main.go') diff --git a/main.go b/main.go index 03dc9de..ea34c2e 100644 --- a/main.go +++ b/main.go @@ -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)) } -- cgit v1.3.1