[SOLVED] How to fix snap build warning?


I got this warning when building Wekan snap, snapcraft.yaml is at https://github.com/wekan/wekan . How do I remove these files in snapcraft.yaml when building Wekan snap?

found potentially sensitive files in package: lib/node_modules/node-pre-gyp/node_modules/tar/lib/.mkdir.js.swp, lib/node_modules/node-gyp/node_modules/tar/lib/.mkdir.js.swp lint-snap-v2_iffy_files


I figured out myself how to fix it, so it works now.