mirror of
https://github.com/meteor/meteor.git
synced 2026-05-02 03:01:46 -04:00
Only write cordova dependencies if there are any
This commit is contained in:
@@ -680,9 +680,11 @@ _.extend(Unipackage.prototype, {
|
||||
earliestCompatibleVersion: self.earliestCompatibleVersion,
|
||||
isTest: self.isTest,
|
||||
unibuilds: [],
|
||||
plugins: [],
|
||||
cordovaDependencies: self.cordovaDependencies
|
||||
plugins: []
|
||||
};
|
||||
if (! _.isEmpty(self.cordovaDependencies)) {
|
||||
mainJson.cordovaDependencies = self.cordovaDependencies;
|
||||
}
|
||||
|
||||
var buildInfoJson = null;
|
||||
if (!options.elideBuildInfo) {
|
||||
|
||||
Reference in New Issue
Block a user