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

[Cordova-CLI 3.4.0-0.1.4-dev] 'cordova info' doesn't return values

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.4.0
    • Fix Version/s: 3.5.0
    • Component/s: cordova-cli
    • Environment:

      Windows 7 (64 bit), Windows 8 (64 bit), Ubuntu 12.04 (32 bit)

      Description

      cordova info retrieves information from the local environment:
      -Node version
      -Cordova CLI version
      -Config.xml
      -Installed platform and plugins

      Using cordova-cli 3.4.0-0.1.4-dev it doesn't work at all, it doesn't retrieve any value.
      It works well using CLI 3.4.0-0.1.3.

        Activity

        Hide
        githubbot ASF GitHub Bot added a comment -

        GitHub user martincgg opened a pull request:

        https://github.com/apache/cordova-cli/pull/137

        CB-6211 [CLI] 'cordova info' command fixed

        Reference to JIRA issue CB-6211, the cordova info command it doesn't
        work.
        Cause by: Carriage return or new line.

        Fixed removing that carriage return from the var 'type'.

        You can merge this pull request into a Git repository by running:

        $ git pull https://github.com/martincgg/cordova-cli CB-6211

        Alternatively you can review and apply these changes as the patch at:

        https://github.com/apache/cordova-cli/pull/137.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 #137


        commit fa2ff479c5042a640b0053c4fde4bdcda0ec65c8
        Author: Martin Gonzalez <martin.c.glez.glez@gmail.com>
        Date: 2014-03-11T18:07:33Z

        CB-6211 [CLI] 'cordova info' command fixed

        Reference to JIRA issue CB-6211, the cordova info command it doesn't
        work.
        Cause by: Carriage return or new line.

        Fixed removing that carriage return from the var 'type'.


        Show
        githubbot ASF GitHub Bot added a comment - GitHub user martincgg opened a pull request: https://github.com/apache/cordova-cli/pull/137 CB-6211 [CLI] 'cordova info' command fixed Reference to JIRA issue CB-6211 , the cordova info command it doesn't work. Cause by: Carriage return or new line. Fixed removing that carriage return from the var 'type'. You can merge this pull request into a Git repository by running: $ git pull https://github.com/martincgg/cordova-cli CB-6211 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/cordova-cli/pull/137.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 #137 commit fa2ff479c5042a640b0053c4fde4bdcda0ec65c8 Author: Martin Gonzalez <martin.c.glez.glez@gmail.com> Date: 2014-03-11T18:07:33Z CB-6211 [CLI] 'cordova info' command fixed Reference to JIRA issue CB-6211 , the cordova info command it doesn't work. Cause by: Carriage return or new line. Fixed removing that carriage return from the var 'type'.
        Hide
        githubbot ASF GitHub Bot added a comment -

        Github user martincgg commented on the pull request:

        https://github.com/apache/cordova-cli/pull/137#issuecomment-37329880

        Tested under Windows 7 and Ubuntu

        Show
        githubbot ASF GitHub Bot added a comment - Github user martincgg commented on the pull request: https://github.com/apache/cordova-cli/pull/137#issuecomment-37329880 Tested under Windows 7 and Ubuntu
        Hide
        martin.c.glez.glez Martin Gonzalez added a comment -

        The problem was a carriage return in the text retrieved from the txt file.
        Fixed removing it from the var: "type".

        https://github.com/apache/cordova-cli/pull/137

        Waiting for review and merge.

        Show
        martin.c.glez.glez Martin Gonzalez added a comment - The problem was a carriage return in the text retrieved from the txt file. Fixed removing it from the var: "type". https://github.com/apache/cordova-cli/pull/137 Waiting for review and merge.
        Hide
        jira-bot ASF subversion and git services added a comment -

        Commit 150323053b8a4a90532f7ec67616b2ae0cff93d3 in cordova-cli's branch refs/heads/master from Martin Gonzalez
        [ https://git-wip-us.apache.org/repos/asf?p=cordova-cli.git;h=1503230 ]

        CB-6211 'cordova info' command fixed for Windows platform

        Reference to JIRA issue CB-6211, the cordova info command it doesn't
        work.
        Cause by: Carriage return or new line.

        Fixed removing that carriage return from the var 'type'.

        github: close #137

        Show
        jira-bot ASF subversion and git services added a comment - Commit 150323053b8a4a90532f7ec67616b2ae0cff93d3 in cordova-cli's branch refs/heads/master from Martin Gonzalez [ https://git-wip-us.apache.org/repos/asf?p=cordova-cli.git;h=1503230 ] CB-6211 'cordova info' command fixed for Windows platform Reference to JIRA issue CB-6211 , the cordova info command it doesn't work. Cause by: Carriage return or new line. Fixed removing that carriage return from the var 'type'. github: close #137
        Hide
        jira-bot ASF subversion and git services added a comment -

        Commit 150323053b8a4a90532f7ec67616b2ae0cff93d3 in cordova-cli's branch refs/heads/master from Martin Gonzalez
        [ https://git-wip-us.apache.org/repos/asf?p=cordova-cli.git;h=1503230 ]

        CB-6211 'cordova info' command fixed for Windows platform

        Reference to JIRA issue CB-6211, the cordova info command it doesn't
        work.
        Cause by: Carriage return or new line.

        Fixed removing that carriage return from the var 'type'.

        github: close #137

        Show
        jira-bot ASF subversion and git services added a comment - Commit 150323053b8a4a90532f7ec67616b2ae0cff93d3 in cordova-cli's branch refs/heads/master from Martin Gonzalez [ https://git-wip-us.apache.org/repos/asf?p=cordova-cli.git;h=1503230 ] CB-6211 'cordova info' command fixed for Windows platform Reference to JIRA issue CB-6211 , the cordova info command it doesn't work. Cause by: Carriage return or new line. Fixed removing that carriage return from the var 'type'. github: close #137
        Hide
        githubbot ASF GitHub Bot added a comment -

        Github user martincgg closed the pull request at:

        https://github.com/apache/cordova-cli/pull/137

        Show
        githubbot ASF GitHub Bot added a comment - Github user martincgg closed the pull request at: https://github.com/apache/cordova-cli/pull/137
        Hide
        martin.c.glez.glez Martin Gonzalez added a comment -

        Changes merged

        Show
        martin.c.glez.glez Martin Gonzalez added a comment - Changes merged

          People

          • Assignee:
            martin.c.glez.glez Martin Gonzalez
            Reporter:
            martin.c.glez.glez Martin Gonzalez
          • Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development