Github user mmocny commented on a diff in the pull request: https://github.com/apache/cordova-lib/pull/183#discussion_r26215219 --- Diff: cordova-lib/src/plugman/uninstall.js --- @@ -293,58 +293,25 @@ function runUninstallPlatform(actions, platform, project_dir, plugin_dir, plugin function handleUninstall(actions, platform, pluginInfo, project_dir, www_dir, plugins_dir, is_top_level, options) { var plugin_id = pluginInfo.id; var plugin_dir = pluginInfo.dir; - var platform_modules = require('./platforms'); - var handler = platform_modules[platform]; - www_dir = www_dir || handler.www_dir(project_dir); + var handler = platform_modules.getPlatformProject(platform, project_dir); + www_dir = www_dir || handler.www_dir(); events.emit('log', 'Uninstalling ' + plugin_id + ' from ' + platform); + var pluginItems = pluginInfo.getFilesAndFrameworks(platform); var assets = pluginInfo.getAssets(platform); --- End diff -- Why are assets different?
--- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. --- --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@cordova.apache.org For additional commands, e-mail: dev-h...@cordova.apache.org