Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failure condition not working #127

Closed
mrjulio opened this issue Apr 1, 2015 · 3 comments
Closed

Failure condition not working #127

mrjulio opened this issue Apr 1, 2015 · 3 comments
Labels

Comments

@mrjulio
Copy link

mrjulio commented Apr 1, 2015

#!/usr/bin/env bash

OUTPUT=$(./phpmetrics.phar --failure-condition="sum.loc > 0" test.php)

echo $?

Returns 0 instead of 1 with test.php having 100+ lines of code.

@Halleck45 Halleck45 added the bug label Apr 1, 2015
@Halleck45
Copy link
Collaborator

Hi,

thanks for the report. Can you confirm that this commit has fixed your issue ?

@mrjulio
Copy link
Author

mrjulio commented Apr 2, 2015

Hi,

It's working! Thanks!!

PS: awesome tool btw

@mrjulio mrjulio closed this as completed Apr 2, 2015
@Halleck45
Copy link
Collaborator

Thanks @mrjulio :)

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

No branches or pull requests

2 participants