mirror of https://github.com/lukechilds/node.git
Browse Source
As it is, `fs.mkdtemp` crashes with a C++ assertion if the callback function is not passed. This patch uses `maybeCallback` to create one, if no callback function is passed. PR-URL: https://github.com/nodejs/node/pull/6828 Reviewed-By: Brian White <mscdex@mscdex.net> Reviewed-By: James M Snell <jasnell@gmail.com>v7.x
Sakthipriyan Vairamani
9 years ago
committed by
James M Snell
2 changed files with 4 additions and 1 deletions
Loading…
Reference in new issue