Trying to snap a directory that doesn't exist prints [Errno 2]
Bug #1604385 reported by
Leo Arias
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Snapcraft |
Triaged
|
Undecided
|
Unassigned |
Bug Description
To reproduce:
$ snapcraft snap idontexist
[Errno 2] No such file or directory: '/tmp/test/
It shouldn't show Errno 2.
Leo, are you saying the error should look like this?
$ snapcraft snap idontexist idontexist/ meta/snap. yaml'
No such file or directory: '/tmp/test/
If not, could you be more specific?