cordova-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From agrieve <>
Subject [GitHub] cordova-lib pull request: Auto save restore for plugins
Date Thu, 08 Jan 2015 19:41:50 GMT
Github user agrieve commented on a diff in the pull request:
    --- Diff: cordova-lib/src/cordova/plugin.js ---
    @@ -206,7 +207,7 @@ module.exports = function plugin(command, targets, opts) {
                         }, Q())
                         .then(function() {
    -                        return plugman.raw.uninstall.uninstallPlugin(target, path.join(projectRoot,
    +                        return plugman.raw.uninstall.uninstallPlugin(target, path.join(projectRoot,
    --- End diff --
    I think here and below you actually want: `.then(savePluginsToConfig)` rather than `.then(savePluginsToConfig())`.
Often with promises, it's best to just always use `.then(function() {})`, even if all it does
is delegate to a helper.

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 or file a JIRA ticket
with INFRA.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message