Travis Thompson created HADOOP-12373:
----------------------------------------

             Summary: Add support for foodcritic
                 Key: HADOOP-12373
                 URL: https://issues.apache.org/jira/browse/HADOOP-12373
             Project: Hadoop Common
          Issue Type: Sub-task
            Reporter: Travis Thompson


Foodcritic is the chef "best practices" linter 
(http://acrmp.github.io/foodcritic/)

Successful output:

{noformat}
± master ✗  → foodcritic .

± master ✗  → echo $?     
0
{noformat}

Unsuccessful output:

{noformat}
± master ✗  → foodcritic .
FC048: Prefer Mixlib::ShellOut: ./recipes/server.rb:482
± master ✗  → echo $?
0
{noformat}

Here's what caused the failure:

{noformat}
482 `echo "this is bad pratice"`
{noformat}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to