fs: ensure readdir() callback is only called once by cjihrig · Pull Request #22793 · nodejs/node

@cjihrig

This commit ensures that the readdir() callback can only be
called once when the withFileTypes parameter is supplied.

@nodejs-github-bot added fs

Issues and PRs related to the fs subsystem / file system.

util

Issues and PRs related to the built-in util module.

labels

Sep 10, 2018

apapirovski

JungMinu

danbev pushed a commit that referenced this pull request

Sep 13, 2018
This commit ensures that the readdir() callback can only be
called once when the withFileTypes parameter is supplied.

PR-URL: #22793
Fixes: #22778
Reviewed-By: Bryan English <bryan@bryanenglish.com>
Reviewed-By: Anatoli Papirovski <apapirovski@mac.com>
Reviewed-By: Minwoo Jung <minwoo@nodesource.com>

targos pushed a commit that referenced this pull request

Sep 15, 2018
This commit ensures that the readdir() callback can only be
called once when the withFileTypes parameter is supplied.

PR-URL: #22793
Fixes: #22778
Reviewed-By: Bryan English <bryan@bryanenglish.com>
Reviewed-By: Anatoli Papirovski <apapirovski@mac.com>
Reviewed-By: Minwoo Jung <minwoo@nodesource.com>

targos pushed a commit that referenced this pull request

Sep 19, 2018
This commit ensures that the readdir() callback can only be
called once when the withFileTypes parameter is supplied.

PR-URL: #22793
Fixes: #22778
Reviewed-By: Bryan English <bryan@bryanenglish.com>
Reviewed-By: Anatoli Papirovski <apapirovski@mac.com>
Reviewed-By: Minwoo Jung <minwoo@nodesource.com>

targos pushed a commit that referenced this pull request

Sep 20, 2018
This commit ensures that the readdir() callback can only be
called once when the withFileTypes parameter is supplied.

PR-URL: #22793
Fixes: #22778
Reviewed-By: Bryan English <bryan@bryanenglish.com>
Reviewed-By: Anatoli Papirovski <apapirovski@mac.com>
Reviewed-By: Minwoo Jung <minwoo@nodesource.com>