From 536fee257326ff2a6e8fc26cbc24994ddbf959b7 Mon Sep 17 00:00:00 2001 From: Bryan English Date: Tue, 17 Oct 2017 23:27:08 -0700 Subject: [PATCH] fs: remove no-longer-relevant comment The comment suggests that the subsequent code could by DRYed up, due to simply passing arguments along. However, in the commits since then, this no longer appears to apply, and so the comment is now confusing with respect to the current code. --- lib/fs.js | 4 ---- 1 file changed, 4 deletions(-) diff --git a/lib/fs.js b/lib/fs.js index 4d70555bcceb26..847de4dbb87f53 100644 --- a/lib/fs.js +++ b/lib/fs.js @@ -621,10 +621,6 @@ fs.readFileSync = function(path, options) { return buffer; }; - -// Yes, the follow could be easily DRYed up but I provide the explicit -// list to make the arguments clear. - fs.close = function(fd, callback) { var req = new FSReqWrap(); req.oncomplete = makeCallback(callback);