Explorar el Código

ft: 删除多余的判断

master
SisMaker hace 3 años
padre
commit
d9d1c8a91f
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. +1
    -1
      fileSync.go

+ 1
- 1
fileSync.go Ver fichero

@ -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)
}

Cargando…
Cancelar
Guardar