[
https://issues.apache.org/jira/browse/CB-9521?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14740670#comment-14740670
]
ASF GitHub Bot commented on CB-9521:
------------------------------------
GitHub user vladimir-kotikov opened a pull request:
https://github.com/apache/cordova-lib/pull/308
CB-9521 Do not pass removed platform to `after_platform_rm` hook
This fixes annoying issue, already described in
[CB-9521](issues.apache.org/jira/browse/CB-9521).
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/MSOpenTech/cordova-lib CB-9521
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/cordova-lib/pull/308.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #308
----
commit 318aa24420a49b7954e6cc97bd50ea44a3d509a8
Author: Vladimir Kotikov <[email protected]>
Date: 2015-09-11T12:08:49Z
CB-9521 Do not pass removed platform to `after_platform_rm` hook
----
> "after_platform_rm" event fires with wrong parameter
> ----------------------------------------------------
>
> Key: CB-9521
> URL: https://issues.apache.org/jira/browse/CB-9521
> Project: Apache Cordova
> Issue Type: Bug
> Components: CLI
> Affects Versions: 5.2.0
> Environment: windows
> Reporter: junshan liu
> Priority: Critical
>
> I add a listener to listen to "after_platform_rm" event. when the event is
> fired, the parameter passed into the listener function is not correct.
> The property "cordova.platforms" contains the platform I just removed. For
> example, I removed "android" platform, but "cordova.platforms" still contains
> "android".
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]