Skip to content

Instantly share code, notes, and snippets.

@blakmatrix
Created December 13, 2012 00:26
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save blakmatrix/4272990 to your computer and use it in GitHub Desktop.
Save blakmatrix/4272990 to your computer and use it in GitHub Desktop.
var myPath = path.join(__dirname,'public');
fs.exists(mypath, function (exists) {
return exists ? null : mkdirp(myPath);
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment