gma/nesta

The demo:content command fails silently when git isn't installed

gma opened this issue · 1 comments

gma commented

We ask Ruby's system method to shell out to git for us, and it kindly returns nil without raising (or printing) an error if the command doesn't exist.

We need to check the return value wherever we call system.

What do you think of adding a run method in the Command module that wraps the system call?