diff --git a/src/fs.js b/src/fs.js index 2d8fc40..1c19237 100644 --- a/src/fs.js +++ b/src/fs.js @@ -151,6 +151,14 @@ define(function(require) { return this.type === MODE_SYMBOLIC_LINK; }; + Stats.prototype.isFIFO = function() { + return false; + }; + + Stats.prototype.isSocket = function() { + return false; + }; + /* * Update node times. Only passed times are modified (undefined times are ignored) * and filesystem flags are examined in order to override update logic.