소스 검색

Fix style

Alois Mahdal 8 년 전
부모
커밋
d4f6cb5bad
1개의 변경된 파일7개의 추가작업 그리고 2개의 파일을 삭제
  1. 7
    2
      dotfiles/imapdomo/common.lua

+ 7
- 2
dotfiles/imapdomo/common.lua 파일 보기

@@ -18,8 +18,13 @@ function file_exists(name)
18 18
     --
19 19
     -- True if file *name* exists
20 20
     --
21
-    local f=io.open(name,"r")
22
-    if f~=nil then io.close(f) return true else return false end
21
+    local f = io.open(name,"r")
22
+    if f ~= nil then
23
+        io.close(f)
24
+        return true
25
+    else
26
+        return false
27
+    end
23 28
 end
24 29
 
25 30
 function init_host()