Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Issue #6 Node 0.10 changes, path.join doesn't accept undefined as input

  • Loading branch information...
commit 0605188cafa737ab427750e92be55d1d6e2c27a9 1 parent c392df5
mde authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/file.js
View
2  lib/file.js
@@ -272,7 +272,7 @@ var fileUtils = new (function () {
this.mkdirP = function (dir, mode) {
var dirPath = path.normalize(dir)
, paths = dirPath.split(/\/|\\/)
- , currPath
+ , currPath = ''
, next;
if (paths[0] == '' || /^[A-Za-z]+:/.test(paths[0])) {
Please sign in to comment.
Something went wrong with that request. Please try again.