Riff automatically provides external dependencies for Rust projects, with support for other languages coming soon.
Mozilla Public License 2.0
486
stars
13
forks
source link
Print underlying error when we fail to detect a project #121
Closed
cole-h closed 2 years ago
e.g.:
I'm not set on the "red-ify all the errors", but I think it looks good.
One issue with the current approach is that we duplicate the error from https://github.com/DeterminateSystems/riff/blob/895037519e9fcc1bdb6e709d4ffa34ed71851c96/src/dev_env.rs#L71 (due to https://github.com/DeterminateSystems/riff/blob/895037519e9fcc1bdb6e709d4ffa34ed71851c96/src/flake_generator.rs#L36).
Could be addressed by slightly changing the wording so we get:
instead of
Suggestions welcome.