From 595bd076bfb790b47157e2a5c8587e1d2d095136 Mon Sep 17 00:00:00 2001 From: Kevin Sawicki Date: Tue, 17 Sep 2013 13:49:13 -0700 Subject: [PATCH] Export all fs functions through fs-utils --- src/fs-utils.coffee | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/fs-utils.coffee b/src/fs-utils.coffee index 77a32b62c..1d96cb523 100644 --- a/src/fs-utils.coffee +++ b/src/fs-utils.coffee @@ -6,7 +6,7 @@ async = require 'async' rimraf = require 'rimraf' path = require 'path' -module.exports = +fsExtensions = # Make the given path absolute by resolving it against the # current working directory. absolute: (relativePath) -> @@ -301,3 +301,5 @@ module.exports = CSON.readFile(objectPath, done) else @readPlist(objectPath, done) + +module.exports = _.extend(fsExtensions, fs)