aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorQuey-Liang Kao <s101062801@m101.nthu.edu.tw>2017-02-20 02:16:31 +0800
committerQuey-Liang Kao <s101062801@m101.nthu.edu.tw>2017-02-20 02:16:31 +0800
commit369097a97856c70ab213428957c86abc9937a069 (patch)
tree4bd7f76cccf5567f0d812212c6df0b0cce9512eb
parent89b73b0df1a5c06cf2399bfb0d46a83e053c6561 (diff)
Refine the commits
-rw-r--r--todo.go4
1 files changed, 0 insertions, 4 deletions
diff --git a/todo.go b/todo.go
index f7d994d..2a45f28 100644
--- a/todo.go
+++ b/todo.go
@@ -110,10 +110,6 @@ func usage() {
func routeInput(command string, input string) {
app := todolist.NewApp()
- if app == nil {
- return
- }
-
switch command {
case "l", "list", "agenda":
app.ListTodos(input)