From 89b73b0df1a5c06cf2399bfb0d46a83e053c6561 Mon Sep 17 00:00:00 2001 From: Quey-Liang Kao Date: Sun, 19 Feb 2017 22:12:39 +0800 Subject: Refine previous commit --- todolist/app.go | 5 ----- 1 file changed, 5 deletions(-) (limited to 'todolist/app.go') diff --git a/todolist/app.go b/todolist/app.go index e3d8cc7..1ab6b20 100644 --- a/todolist/app.go +++ b/todolist/app.go @@ -15,11 +15,6 @@ type App struct { func NewApp() *App { app := &App{TodoList: &TodoList{}, TodoStore: NewFileStore()} - if app.TodoStore.FileLocation == "" { - fmt.Println("No todo file found!") - fmt.Println("You may run 'todo init' to initialize an empty repo in current directory.") - return nil - } return app } -- cgit v1.3