TryGhost / gscan

Ghost theme scanner - checks for errors and feature support
https://gscan.ghost.org
MIT License
75 stars 56 forks source link

update error msg when passing zip without flag #466

Closed royalfig closed 1 year ago

royalfig commented 1 year ago

Ref #465

When passing a zip file to gscan without including the -z flag, gscan currently quits without logging the error, which is confusing to users.

This change logs the error to the console, and, if the error is because the path passed is not a dir, then provides a hint about the z flag.