nickgerace / gfold

CLI tool to help keep track of your Git repositories, written in Rust
https://crates.io/crates/gfold
Apache License 2.0
283 stars 20 forks source link

`Error: StdIo(Os { code: 2, kind: NotFound, message: "No such file or directory" })` #190

Closed nickgerace closed 2 years ago

nickgerace commented 2 years ago

With gfold 4.0.0-rc.1, executing the binary results in the following error:

Error: StdIo(Os { code: 2, kind: NotFound, message: "No such file or directory" })

However, if the -i flag is passed in, then it works. I suspect the issue is related to #181.

Original comment: https://github.com/nickgerace/gfold/issues/187#issuecomment-1066765249

nickgerace commented 2 years ago

Found the bug: this failure occurs if ~/.config/gfold.toml (or Windows equivalent) does not exist.

Current workaround: create an empty file at that location with that name.

AckslD commented 2 years ago

@nickgerace I can confirm that creating an empty config file works.

However I got another error, see #192