infinitered / solidarity

Solidarity is an environment checker for project dependencies across multiple machines.
https://infinitered.github.io/solidarity/
MIT License
639 stars 48 forks source link

allow usage of `solidarity report` in directories without .solidarity file #162

Open tabrindle opened 6 years ago

tabrindle commented 6 years ago

Currently, solidarity report errors out completely with

tabrindle-mbp:~ tabrindle$ solidarity report
✖ No valid solidarity file was found to report.

when no .solidarity file is available. While I believe it should still print this, printing out the same info we normally do would also be helpful.

GantMan commented 6 years ago

So you mean the header info? And then a friendly message?

GantMan commented 6 years ago

"Hey we didn't find a .solidarity file. SO we reported what we thought, and you can point towards an external file with --solidarityFile './nachos/.solidarity'"

GantMan commented 6 years ago

I'm also gonna add a feature in this PR, when I get to it, to have it look for a solidarity file in a specific node module. Should be epic!