mirror of
https://github.com/facebook/react-native.git
synced 2026-11-18 20:19:07 +00:00
Respect projectName on template creation
This commit is contained in:
1 parent
4fd0a2de0d
commit
575e9b7b9a
2 files changed
+3
-3
No files matched your search
Vendored
+2
-1
@@ -144,8 +144,9 @@ function createProject(name) {
|
||||
process.exit(1);
|
||||
}
|
||||
|
||||
var args = [projectName].concat(process.argv.slice(4));
|
||||
cli = require(CLI_MODULE_PATH());
|
||||
cli.init(root, projectName);
|
||||
cli.init(root, args);
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user