removed fmt

This commit is contained in:
alessio 2016-07-31 16:38:08 +02:00
parent 89ac223e54
commit 98a3876a6b
1 changed files with 0 additions and 1 deletions

View File

@ -89,7 +89,6 @@ func (h *Config) Clean() {
// Check, Read and remove duplicates from the config file // Check, Read and remove duplicates from the config file
func (h *Config) Read() error{ func (h *Config) Read() error{
if file, err := ioutil.ReadFile(h.file); err == nil{ if file, err := ioutil.ReadFile(h.file); err == nil{
fmt.Println(len(h.Projects))
if len(h.Projects) > 0 { if len(h.Projects) > 0 {
err = yaml.Unmarshal(file, h) err = yaml.Unmarshal(file, h)
if err == nil { if err == nil {