Ver código fonte

ft: 删除多余的判断

master
SisMaker 3 anos atrás
pai
commit
d9d1c8a91f
1 arquivos alterados com 1 adições e 1 exclusões
  1. +1
    -1
      fileSync.go

+ 1
- 1
fileSync.go Ver arquivo

@ -82,7 +82,7 @@ func IsExist(f string) bool {
// 收集更改了的文件
func CollectFile(File string) {
ext := filepath.Ext(File)
if ext != idea && ext != git && ext != svn && ext != lock && ext != bea && ext != "" && ext != idea && (ext == erl || ext == beam || ext == hrl || ext == config || ext == ex || ext == dtl || ext == lfe) {
if ext != idea && ext != git && ext != svn && ext != lock && ext != bea && ext != "" && (ext == erl || ext == beam || ext == hrl || ext == config || ext == ex || ext == dtl || ext == lfe) {
CollectFiles[File] = struct{}{}
SendTimer.Reset(time.Millisecond * SendDur)
}

Carregando…
Cancelar
Salvar