Skip to content

Commit

Permalink
Implicitly create folder
Browse files Browse the repository at this point in the history
  • Loading branch information
JoeStanton committed May 14, 2015
1 parent bcaa2f0 commit 51faf40
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 3 deletions.
2 changes: 0 additions & 2 deletions local-cli/new-library.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,6 @@ function newLibrary(libraryName) {
if (fs.existsSync(libraryDest)) {
console.log('Library already exists in', libraryDest);
process.exit(1);
} else {
fs.mkdir(libraryDest);
}

utils.walk(source).forEach(function(f) {
Expand Down
1 change: 0 additions & 1 deletion react-native-cli/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ var spawn = require('child_process').spawn;
var utils = require('../local-cli/generator-utils');

var CLI_MODULE_PATH = function() {
//return path.resolve('/Users/joe/Git/react-native-js/cli.js');
return path.resolve(
process.cwd(),
'node_modules',
Expand Down

0 comments on commit 51faf40

Please sign in to comment.