arr-ai / arrai

The ultimate data engine.
http://arr.ai
Apache License 2.0
20 stars 15 forks source link

Exit with an error code if app.Run returns an err #530

Closed orlade-anz closed 4 years ago

orlade-anz commented 4 years ago

Without an exit error, commands like arrai run nonexistent_file.arrai > out.txt will produce an empty out.txt since the arrai run command is considered successful.

coveralls commented 4 years ago

Pull Request Test Coverage Report for Build c40596800c4bfbc7b8c4d7a806002d78d9aef45a-PR-530


Changes Missing Coverage Covered Lines Changed/Added Lines %
cmd/arrai/main.go 0 1 0.0%
<!-- Total: 0 1 0.0% -->
Files with Coverage Reduction New Missed Lines %
rel/value_set_str.go 2 62.57%
<!-- Total: 2 -->
Totals Coverage Status
Change from base Build 9b0f4570f8bc49a89650907b806e02f014e887d6: 0.02%
Covered Lines: 4420
Relevant Lines: 9234

💛 - Coveralls