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/56694815 Tree: http://git-wip-us.apache.org/repos/asf/cordova-ios/tree/56694815 Diff: http://git-wip-us.apache.org/repos/asf/cordova-ios/diff/56694815 Branch: refs/heads/4.1.x Commit: 5669481558405509614c95f25698fbe4ed659ef8 Parents: 3bf3080 Author: Steve Gill <[email protected]> Authored: Wed Feb 24 19:22:10 2016 -0800 Committer: Steve Gill <[email protected]> Committed: Wed Feb 24 19:23:29 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/56694815/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]
