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

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

Github user vladimir-kotikov commented on the pull request:

    https://github.com/apache/cordova-lib/pull/384#issuecomment-185747825
  
    The return value of `Q.then(thePromise)` is the same as for `thePromise()` 
due to its' (promise) nature, so i think there is nothing changed for caller.


> Using cordova.raw API outside of cordova project results in uncaught 
> exception instead or promise rejection
> -----------------------------------------------------------------------------------------------------------
>
>                 Key: CB-10519
>                 URL: https://issues.apache.org/jira/browse/CB-10519
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: CordovaLib
>    Affects Versions: 6.0.0
>            Reporter: Vladimir Kotikov
>            Assignee: Vladimir Kotikov
>              Labels: triaged
>
> When trying to {{cordova.raw.platfom('add', ...)}} outside of cordova project 
> the following error message logged to console:
> > Error: Current working directory is not a Cordova-based project.
> However, the error callback for {{cordova.raw.platfom('add', ...)}} isn't 
> called at all.



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