This commit is contained in:
Filip Tibell 2023-05-14 22:22:17 +02:00
commit d2ed3bdd5d
No known key found for this signature in database

View file

@ -29,7 +29,7 @@ export type WriteOptions = {
for _, entryName in fs.readDir("myDirName") do for _, entryName in fs.readDir("myDirName") do
if fs.isFile("myDirName/" .. entryName) then if fs.isFile("myDirName/" .. entryName) then
print("Found file " .. entryName) print("Found file " .. entryName)
elseif if fs.isDir("myDirName/" .. entryName) then elseif fs.isDir("myDirName/" .. entryName) then
print("Found subdirectory " .. entryName) print("Found subdirectory " .. entryName)
end end
end end