You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Andrew Grieve (JIRA)" <ji...@apache.org> on 2014/04/25 16:40:23 UTC
[jira] [Resolved] (CB-6515) cordova-js Task "jshint:src" failed!
[ https://issues.apache.org/jira/browse/CB-6515?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Andrew Grieve resolved CB-6515.
-------------------------------
Resolution: Fixed
Assignee: Andrew Grieve
Reverted offending commit.
https://git-wip-us.apache.org/repos/asf?p=cordova-js.git;a=commit;h=68ab22d1
> cordova-js Task "jshint:src" failed!
> ------------------------------------
>
> Key: CB-6515
> URL: https://issues.apache.org/jira/browse/CB-6515
> Project: Apache Cordova
> Issue Type: Bug
> Components: CordovaJS
> Reporter: glmnbeyond
> Assignee: Andrew Grieve
>
> Use the latest cordova-js master branch code and run grunt:
> Running "jshint:src" (jshint) task
> Linting src/cordova_b.js ...ERROR
> [L232:C3] W015: Expected 'if' to have an indentation at 5 instead at 3.
> if(module === "cordova/exec") {
> Linting src/cordova_b.js ...ERROR
> [L233:C5] W015: Expected 'return' to have an indentation at 9 instead at 5.
> return cordova.exec;
> Linting src/cordova_b.js ...ERROR
> [L234:C3] W015: Expected '}' to have an indentation at 5 instead at 3.
> }
> Linting src/cordova_b.js ...ERROR
> [L236:C3] W015: Expected 'return' to have an indentation at 5 instead at 3.
> return undefined;
> Linting src/cordova_b.js ...ERROR
> [L237:C2] W033: Missing semicolon.
> }
> Warning: Task "jshint:src" failed. Use --force to continue.
> Aborted due to warnings.
--
This message was sent by Atlassian JIRA
(v6.2#6252)