Closed pamidur closed 4 years ago
My CI build is executed like this
./codacy -c $HASH -t $TOKEN -r $coverage_file -e opencover
and I forgot to set the $TOKEN, the result however is successful
Codacy.CSharpCoverage 1.0.0 Copyright (C) 2019 Codacy.CSharpCoverage ERROR(S): Option 't, token' has no value. Required option 't, token' is missing. > echo $? 0
Make the app return status code 1 when there were command line parsing errors
The problem
My CI build is executed like this
and I forgot to set the $TOKEN, the result however is successful
The solution
Make the app return status code 1 when there were command line parsing errors