cordova-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ste...@apache.org
Subject cordova-lib git commit: updated createpackagejson plugman command
Date Mon, 24 Apr 2017 20:18:13 GMT
Repository: cordova-lib
Updated Branches:
  refs/heads/master 193bdf3d4 -> 7dead25a6


updated createpackagejson plugman command


Project: http://git-wip-us.apache.org/repos/asf/cordova-lib/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-lib/commit/7dead25a
Tree: http://git-wip-us.apache.org/repos/asf/cordova-lib/tree/7dead25a
Diff: http://git-wip-us.apache.org/repos/asf/cordova-lib/diff/7dead25a

Branch: refs/heads/master
Commit: 7dead25a6e3bc61afc060c09ba9ac571c05dad02
Parents: 193bdf3
Author: Steve Gill <stevengill97@gmail.com>
Authored: Mon Apr 24 13:18:03 2017 -0700
Committer: Steve Gill <stevengill97@gmail.com>
Committed: Mon Apr 24 13:18:03 2017 -0700

----------------------------------------------------------------------
 cordova-lib/src/plugman/init-defaults.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-lib/blob/7dead25a/cordova-lib/src/plugman/init-defaults.js
----------------------------------------------------------------------
diff --git a/cordova-lib/src/plugman/init-defaults.js b/cordova-lib/src/plugman/init-defaults.js
index 5dbbbfa..f925fb3 100644
--- a/cordova-lib/src/plugman/init-defaults.js
+++ b/cordova-lib/src/plugman/init-defaults.js
@@ -57,7 +57,7 @@ function readDeps (test) {
     };
 }
 
-var name = package.name || basename;
+var name = package.name || defaults.id || basename;
 exports.name = yes ? name : prompt('name', name);
 
 var version = package.version ||


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org


Mime
View raw message