jgabaut / invil

A Rust implementation of amboso.
https://github.com/jgabaut/amboso
GNU General Public License v3.0
4 stars 0 forks source link

[FEATURE] Graceful handling of repo discovery failure #80

Closed jgabaut closed 10 months ago

jgabaut commented 10 months ago

As of version 0.2.1, a run from a non-repo directory fails with:

[ERROR] Failed git check. Error was: {could not find repository at './'; class=Repository (6); code=NotFound (-3)}
[ERROR] check_passed_args() failed with: "could not find repository at './'; class=Repository (6); code=NotFound (-3)"

This could be changed by better handling the result of our discovery, to have different behaviour when outside the happy path.

jgabaut commented 10 months ago

Closed with #81.