Skip to content

Commit

Permalink
Allow inclusion within project on Windows platform. Nesting depth of …
Browse files Browse the repository at this point in the history
…node_modules with lodash.clonedeep and its dependencies create file paths that are too long for some file operations on the Windows platform.

See nodejs/node-v0.x-archive#6960 for details.
  • Loading branch information
Caley committed May 6, 2014
1 parent bbf7d60 commit 966b07e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion index.js
Expand Up @@ -5,7 +5,7 @@
module.exports = RcFinder;

var path = require('path');
var cloneDeep = require('lodash.clonedeep');
var cloneDeep = require('lodash').cloneDeep;
var fs = require('fs');

function RcFinder(rcName, opts) {
Expand Down
2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -24,7 +24,7 @@
"test": "test"
},
"dependencies": {
"lodash.clonedeep": "~2.4.1"
"lodash": "~2.4.1"
},
"repository": {
"type": "git",
Expand Down

0 comments on commit 966b07e

Please sign in to comment.