diff --git a/lua/pl/path.lua b/lua/pl/path.lua index 7c5e2e65..e019a068 100644 --- a/lua/pl/path.lua +++ b/lua/pl/path.lua @@ -151,7 +151,7 @@ end --- does a path exist? -- @string P A file path --- @return the file path if it exists (either as file, directory, socket, etc), nil otherwise +-- @return the file path if it exists (either as file, directory, socket, etc), false otherwise function path.exists(P) assert_string(1,P) return attrib(P,'mode') ~= nil and P