Build warns when vim is the editor
Bug #1944982 reported by
Kyle Nitzsche
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Snapcraft |
New
|
Undecided
|
Unassigned |
Bug Description
vim editor creates swp files for recovery in the same directory as the source file being edited. When editing snapcraft.yaml, a file like this is created: snap/.snapcraft
This causes the following errors (at least when building in destructive mode):
The 'snap' directory is meant specifically for snapcraft, but it contains the following non-snapcraft-
- .snapcraft.yaml.swp
If you must store these files within the 'snap' directory, move them to 'snap/local', which is ignored by snapcraft.
Perhaps snapcraft could make and expections for vim swp files.
To post a comment you must log in.
This is mostly a warning that files are dropped in there and should not be of concern for iteration