mirror of
https://github.com/meteor/meteor.git
synced 2026-05-02 03:01:46 -04:00
fix(build): fix cordova platforms detection to avoid modern/legacy
This commit is contained in:
@@ -1470,8 +1470,7 @@ Object.assign(exports.PlatformList.prototype, {
|
||||
|
||||
getCordovaPlatforms: function () {
|
||||
var self = this;
|
||||
return _.difference(self._platforms,
|
||||
exports.PlatformList.DEFAULT_PLATFORMS);
|
||||
return _.intersection(self._platforms, ['ios', 'android']);
|
||||
},
|
||||
|
||||
usesCordova: function () {
|
||||
|
||||
Reference in New Issue
Block a user