mirror of
https://github.com/lune-org/lune.git
synced 2024-12-12 13:00:37 +00:00
Merge pull request #45 from boatbomber/patch-1
Fix invalid code in doc example
This commit is contained in:
commit
dfb0781f82
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue