From 6ea83269394de14d5dec1eb1d6334221da255623 Mon Sep 17 00:00:00 2001 From: boatbomber Date: Tue, 9 May 2023 20:06:03 -0400 Subject: [PATCH] Fix invalid code in doc example --- docs/typedefs/FS.luau | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/typedefs/FS.luau b/docs/typedefs/FS.luau index f15d9e1..68dfc94 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