We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f9ce2aa commit f48e8faCopy full SHA for f48e8fa
benchmark/fs/stat.js
@@ -56,20 +56,20 @@ function createCallBackBasedTest(stat) {
56
return function runStatViaCallbacks(cb) {
57
stat(FILES[0], function(err, data) {
58
if (err) throw err;
59
- second();
+ second(data);
60
});
61
62
function second() {
63
stat(FILES[1], function(err, data) {
64
65
- third();
+ third(data);
66
67
}
68
69
function third() {
70
stat(FILES[2], function(err, data) {
71
72
- cb();
+ cb(data);
73
74
75
};
0 commit comments