Fix readdirSync in docs
This commit is contained in:
parent
dc041628ce
commit
f0f2d2ee70
@ -637,7 +637,7 @@ Asynchronous readdir(3). Reads the contents of a directory.
|
||||
The callback gets two arguments +(err, files)+ where +files+ is an array of
|
||||
the names of the files in the directory excluding +"."+ and +".."+.
|
||||
|
||||
+fs.readdir(path, callback)+ ::
|
||||
+fs.readdirSync(path)+ ::
|
||||
Synchronous readdir(3). Returns an array of filenames excluding +"."+ and
|
||||
+".."+.
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user