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

cordova plugin list prints helper message to STDOUT instead of STDERR

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Trivial
    • Resolution: Unresolved
    • Master
    • None
    • cordova-cli
    • None

    Description

      The message "No plugins added. Use `cordova plugin add <plugin>`." is printed to STDOUT when running the command "cordova plugin list" when there are no plugins installed.

      It should be printed to STDERR instead to be consistent with other linux programs.

       

      Ryans-Mac:MyApp ryan$ cordova plugin list 2>/dev/null
      No plugins added. Use `cordova plugin add <plugin>`.

      Ryans-Mac:MyApp ryan$ cordova plugin list 2>/dev/null | wc -l
      1

      Attachments

        Activity

          People

            Unassigned Unassigned
            ryanwilliams Ryan Williams
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Time Tracking

                Estimated:
                Original Estimate - 0.5h
                0.5h
                Remaining:
                Remaining Estimate - 0.5h
                0.5h
                Logged:
                Time Spent - Not Specified
                Not Specified