removed fmt
This commit is contained in:
parent
89ac223e54
commit
98a3876a6b
|
@ -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 {
|
||||||
|
|
Loading…
Reference in New Issue