cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Josh Soref (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CB-5613) Cordova does not return an error when you have a malformed .json file and when you provide a "-d"
Date Mon, 09 Dec 2013 20:52:07 GMT

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

Josh Soref commented on CB-5613:
--------------------------------

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

> Cordova does not return an error when you have a malformed .json file and when you provide
a "-d"
> -------------------------------------------------------------------------------------------------
>
>                 Key: CB-5613
>                 URL: https://issues.apache.org/jira/browse/CB-5613
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: CLI
>            Reporter: JennyGee
>            Assignee: Josh Soref
>            Priority: Minor
>
> When you provide a malformed .json file, like below:
> "id":"webworks.default","name":"WebWorks Application"}
> And you just build it with no arguments you get this error:
> Parsing ".cordova/config.json" at line 1 col 1; Expected an assignment or function call
and instead saw an expression.
> But if you build it with a "-d" flag, you get an undefined. Which is even less information.
>  



--
This message was sent by Atlassian JIRA
(v6.1.4#6159)

Mime
View raw message