From 2f7bd2896c27df9cee77384ed8b2d2213cda23c8 Mon Sep 17 00:00:00 2001 From: mjarkk Date: Fri, 7 Dec 2018 15:46:49 +0100 Subject: [PATCH] Fixed error when there is no state.yml --- pkg/config/app_config.go | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/pkg/config/app_config.go b/pkg/config/app_config.go index c01bd7df8..f0d9e7015 100644 --- a/pkg/config/app_config.go +++ b/pkg/config/app_config.go @@ -242,11 +242,11 @@ type AppState struct { } func getDefaultAppState() []byte { - return []byte(` - lastUpdateCheck: 0 - recentRepos: [] - RecentPrivateRepos: [] -`) + return []byte(` + lastUpdateCheck: 0 + recentRepos: [] + RecentPrivateRepos: [] + `) } // // commenting this out until we use it again