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

ASF subversion and git services commented on CB-10519:
------------------------------------------------------

Commit 4121b11f050d8421ccd42a55ed21a0474039439a in cordova-lib's branch 
refs/heads/master from [~vladimir.kotikov]
[ https://git-wip-us.apache.org/repos/asf?p=cordova-lib.git;h=4121b11 ]

CB-10519 Wrap all sync calls inside of `cordova.raw` methods into promises


> 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