Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/npm/cli.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorisaacs <i@izs.me>2014-06-29 21:26:48 +0400
committerisaacs <i@izs.me>2014-06-29 21:26:48 +0400
commit9652678045d1e703fc5c821bf75ba229bbec6424 (patch)
tree2c2c839c82f1bc69415008b4f36c0bcf8d56cdd4 /node_modules/glob/glob.js
parent0305df7e976a11584b589010d26e0cfb7e847f92 (diff)
glob@4.0.3
Diffstat (limited to 'node_modules/glob/glob.js')
-rw-r--r--node_modules/glob/glob.js6
1 files changed, 4 insertions, 2 deletions
diff --git a/node_modules/glob/glob.js b/node_modules/glob/glob.js
index b55ac8c09..36bbba84c 100644
--- a/node_modules/glob/glob.js
+++ b/node_modules/glob/glob.js
@@ -36,8 +36,10 @@
module.exports = glob
-var fs = require("fs")
-, minimatch = require("minimatch")
+var fs
+try { fs = require("graceful-fs") } catch (e) { fs = require("fs") }
+
+var minimatch = require("minimatch")
, Minimatch = minimatch.Minimatch
, inherits = require("inherits")
, EE = require("events").EventEmitter