mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-06-18 22:05:06 +08:00
Stylistic cleanup
This commit is contained in:
@@ -51,7 +51,9 @@ function newLibrary(libraryName) {
|
||||
module.exports = {
|
||||
init: function(args) {
|
||||
var libraryName = args[1];
|
||||
if (!libraryName) { showHelp(); }
|
||||
if (!libraryName) {
|
||||
showHelp();
|
||||
}
|
||||
utils.validatePackageName(libraryName);
|
||||
|
||||
newLibrary(libraryName);
|
||||
|
||||
Reference in New Issue
Block a user