cordova-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mbektchiev <>
Subject [GitHub] cordova-lib pull request: Add support for plugin symbolic links
Date Mon, 08 Sep 2014 15:32:17 GMT
Github user mbektchiev commented on a diff in the pull request:
    --- Diff: cordova-lib/src/plugman/uninstall.js ---
    @@ -104,7 +104,12 @@ module.exports.uninstallPlugin = function(id, plugins_dir, options)
                 return Q();
    -        shell.rm('-rf', plugin_dir);
    +        if (fs.lstatSync(plugin_dir).isSymbolicLink()) {
    --- End diff --
    I implemented the option for plugman because it didn't work there also. Here's my pull
request which also updates the shelljs library version:

    I verified that all unit tests pass and that it doesn't delete the target directory of
a symbolic link - so you can safely remove this code, afterwards.

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.

View raw message