Comment 1 for bug 1717413

Revision history for this message
Cris Dywan (kalikiana) wrote :

I'd suggest raising SnapcraftEnvironmentError("The directory idontexist doesn't contain a file meta/snap.yaml. If you meant to build a snap in the given folder, cd into the folder instead and re-run Snapcraft."

and ideally also checking the existence of the folder separately for most clarity.