From 2eae45f402a684985d20699e54fe31e1002cac53 Mon Sep 17 00:00:00 2001 From: "David Humphrey (:humph) david.humphrey@senecacollege.ca" Date: Wed, 16 Jul 2014 16:54:02 -0400 Subject: [PATCH] s/type/mode/ --- src/filesystem/implementation.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/filesystem/implementation.js b/src/filesystem/implementation.js index ab962b8..60eed43 100644 --- a/src/filesystem/implementation.js +++ b/src/filesystem/implementation.js @@ -607,7 +607,7 @@ function open_file(context, path, flags, callback) { function read_directory_data(error, result) { if(error) { callback(error); - } else if(result.type !== MODE_DIRECTORY) { + } else if(result.mode !== MODE_DIRECTORY) { callback(new Errors.ENOENT()); } else { directoryNode = result;