diff --git a/docs/typedefs/FS.luau b/docs/typedefs/FS.luau index 6d249f3..4745a09 100644 --- a/docs/typedefs/FS.luau +++ b/docs/typedefs/FS.luau @@ -29,7 +29,7 @@ export type WriteOptions = { for _, entryName in fs.readDir("myDirName") do if fs.isFile("myDirName/" .. entryName) then print("Found file " .. entryName) - elseif if fs.isDir("myDirName/" .. entryName) then + elseif fs.isDir("myDirName/" .. entryName) then print("Found subdirectory " .. entryName) end end