[ 
https://issues.apache.org/jira/browse/CB-8737?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14379825#comment-14379825
 ] 

ASF GitHub Bot commented on CB-8737:
------------------------------------

Github user kamrik commented on a diff in the pull request:

    https://github.com/apache/cordova-lib/pull/190#discussion_r27117493
  
    --- Diff: cordova-lib/src/platforms/platforms.js ---
    @@ -102,5 +102,10 @@ function getPlatformProject(platform, platformRootDir) 
{
     }
     
     module.exports = platforms;
    -module.exports.getPlatformProject = getPlatformProject;
    -module.exports.PlatformProjectAdapter = PlatformProjectAdapter;
    +
    --- End diff --
    
    Oops, I added those but missed them in the platform list.
    getPlatformProject() is used in several places throughout the code and 
PlatformProjectAdapter is used by a downstream project, so we need them.
    Need to find a way to "hide" them for the platform listing.
    



> Available platforms list includes 'getPlatformProject' and 
> 'PlatformProjectAdapter'
> -----------------------------------------------------------------------------------
>
>                 Key: CB-8737
>                 URL: https://issues.apache.org/jira/browse/CB-8737
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: CordovaLib
>    Affects Versions: Master
>            Reporter: Tim Barham
>            Assignee: Tim Barham
>   Original Estimate: 2h
>  Remaining Estimate: 2h
>
> Using the latest sources, if you list available platforms the output includes 
> two extraneous values ({{getPlatformProject}} and {{PlatformProjectAdapter}}):
> {noformat}
> $ cordova platform
> Installed platforms: windows
> Available platforms: PlatformProjectAdapter, amazon-fireos, android, 
> blackberry10, browser, firefoxos, getPlatformProject, windows8, wp8
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to