Uploaded image for project: 'Apache Cordova'
  1. Apache Cordova
  2. CB-14233

`cordova platforms ls` should ignore hidden folders

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 8.0.0
    • Fix Version/s: None
    • Component/s: cordova-cli
    • Labels:
      None

      Description

      If you have `platforms` under separate version control, `cordova platform ls` lists the `.git` folder as a platform:

      λ cordova platforms ls
      Installed platforms:
        .git
        android 7.1.1
        ios 4.5.5
      Available platforms:
        browser ~5.0.1
        osx ~4.0.1
        windows ~5.0.0
        www ^3.12.0
      

      Ignoring all hidden folders would make sense here - or using config.xml or package.json instead of the file system.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              Sujan12 Jan Piotrowski (janpio)
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: