CB-10693 fixed issue with update in Api.js
Project: http://git-wip-us.apache.org/repos/asf/cordova-ios/repo Commit: http://git-wip-us.apache.org/repos/asf/cordova-ios/commit/6b95680b Tree: http://git-wip-us.apache.org/repos/asf/cordova-ios/tree/6b95680b Diff: http://git-wip-us.apache.org/repos/asf/cordova-ios/diff/6b95680b Branch: refs/heads/master Commit: 6b95680b0f0d023f56728f4015247d460724171a Parents: 2694781 Author: Steve Gill <[email protected]> Authored: Wed Feb 24 19:22:10 2016 -0800 Committer: Steve Gill <[email protected]> Committed: Wed Feb 24 19:22:10 2016 -0800 ---------------------------------------------------------------------- bin/templates/scripts/cordova/Api.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/cordova-ios/blob/6b95680b/bin/templates/scripts/cordova/Api.js ---------------------------------------------------------------------- diff --git a/bin/templates/scripts/cordova/Api.js b/bin/templates/scripts/cordova/Api.js index aabf9dd..0c5b16d 100644 --- a/bin/templates/scripts/cordova/Api.js +++ b/bin/templates/scripts/cordova/Api.js @@ -126,7 +126,7 @@ Api.updatePlatform = function (destination, options, events) { .updateProject(destination, options, events || ConsoleLogger.get()) .then(function () { var PlatformApi = require(path.resolve(destination, 'cordova/Api')); - return new PlatformApi('android', destination, events); + return new PlatformApi('ios', destination, events); }); }; --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
