Merge pull request #7 from dashaus/patch-2

Remove slash to ignore paths
This commit is contained in:
Daniele Conventi 2016-08-22 22:49:57 +02:00 committed by GitHub
commit cce508312e
1 changed files with 0 additions and 1 deletions

View File

@ -205,7 +205,6 @@ func (p *Project) fmt() error {
// Ignore validates a path // Ignore validates a path
func (p *Project) ignore(str string) bool { func (p *Project) ignore(str string) bool {
for _, v := range p.Watcher.Ignore { for _, v := range p.Watcher.Ignore {
v = slash(v)
if strings.Contains(str, p.base+v) { if strings.Contains(str, p.base+v) {
return true return true
} }