[ 
https://issues.apache.org/jira/browse/CB-11940?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

zvlad updated CB-11940:
-----------------------
    Description: 
Steps to reproduce:

1. run in terminal
npm install -g cordova

2. run in terminal
npm list -g --depth 0 cordova

Expected output after step 2.:
[email protected]

3. Play with Cordova CLI until you see
? May Cordova anonymously report usage statistics to improve the tool over time?

4. answer "n" (No)

--------------------------------------------------------
Actual result: you may see the following as a part of CLI output:
┌──────────────────────────────────────────┐
│ Update available: 6.3.1 (current: 5.4.1)                                      
     │
│ Run npm install -g cordova to update.                                         
    │
└──────────────────────────────────────────┘

Expected result: not to see message about update available.

  was:
Steps to reproduce:

1. run in terminal
npm install -g cordova

2. run in terminal
npm list -g --depth 0 cordova

Expected output after this step:
[email protected]

3. Play with Cordova CLI until you see
? May Cordova anonymously report usage statistics to improve the tool over time?

4. answer "n" (No)

--------------------------------------------------------
Actual result: you may see the following as a part of CLI output:
┌──────────────────────────────────────────┐
│ Update available: 6.3.1 (current: 5.4.1)                                      
     │
│ Run npm install -g cordova to update.                                         
    │
└──────────────────────────────────────────┘

Expected result: not to see message about update available.


> Misleading message: "Update available: 6.3.1 (current: 5.4.1)"
> --------------------------------------------------------------
>
>                 Key: CB-11940
>                 URL: https://issues.apache.org/jira/browse/CB-11940
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: CLI
>    Affects Versions: 6.3.1
>         Environment: npm -v
> 3.10.7
> node -v
> v4.5.0
> Debian 8 / Linux. 
>            Reporter: zvlad
>            Priority: Minor
>
> Steps to reproduce:
> 1. run in terminal
> npm install -g cordova
> 2. run in terminal
> npm list -g --depth 0 cordova
> Expected output after step 2.:
> [email protected]
> 3. Play with Cordova CLI until you see
> ? May Cordova anonymously report usage statistics to improve the tool over 
> time?
> 4. answer "n" (No)
> --------------------------------------------------------
> Actual result: you may see the following as a part of CLI output:
> ┌──────────────────────────────────────────┐
> │ Update available: 6.3.1 (current: 5.4.1)                                    
>        │
> │ Run npm install -g cordova to update.                                       
>       │
> └──────────────────────────────────────────┘
> Expected result: not to see message about update available.



--
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