Skip to content
This repository has been archived by the owner on Sep 19, 2020. It is now read-only.

--epic-fail/-f returns 0 for FC078 #777

Open
cdstudios opened this issue Sep 14, 2018 · 1 comment
Open

--epic-fail/-f returns 0 for FC078 #777

cdstudios opened this issue Sep 14, 2018 · 1 comment

Comments

@cdstudios
Copy link

cdstudios commented Sep 14, 2018

Looks like epic-fail ignores FC078:

$ foodcritic -f any .
Checking 1 files
x
FC078: Ensure cookbook shared under an OSI-approved open source license: ./metadata.rb:1
$ $?
-bash: 0: command not found

But if you break some more rules:

$ foodcritic -f any .
Checking 1 files
x
FC066: Ensure chef_version is set in metadata: ./metadata.rb:1
FC067: Ensure at least one platform supported in metadata: ./metadata.rb:1
FC078: Ensure cookbook shared under an OSI-approved open source license: ./metadata.rb:1
$ $?
-bash: 3: command not found
$ foodcritic --version
foodcritic 14.0.0
@tas50
Copy link
Contributor

tas50 commented Nov 7, 2019

Right now anything with the ~opensource gets ignored there. It was mostly to deal with constant complaints about FC078 failing for people.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants