From 66285048ccc5c1b5f0929f2d49a8b78eb569d552 Mon Sep 17 00:00:00 2001 From: Tuan Nguyen Date: Tue, 31 Oct 2017 15:09:07 +0700 Subject: [PATCH] Remove check duplicate same path --- utils.go | 3 --- 1 file changed, 3 deletions(-) diff --git a/utils.go b/utils.go index 2783d26..99e3c54 100644 --- a/utils.go +++ b/utils.go @@ -43,9 +43,6 @@ func split(args, fields []string) []string { // Duplicates check projects with same name or same combinations of main/path func duplicates(value Project, arr []Project) (Project, error) { for _, val := range arr { - if value.Path == val.Path { - return val, errors.New("There is already a project with path '" + val.Path + "'. Check your config file!") - } if value.Name == val.Name { return val, errors.New("There is already a project with name '" + val.Name + "'. Check your config file!") }