From 68c24925bc85116e1fef673cb621d8ebaa6d6cfc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9E=97=E5=8D=9A=E4=BB=81=28Buo-Ren=20Lin=29?= Date: Thu, 29 Mar 2018 23:44:23 +0800 Subject: [PATCH] Add info on connecting to removable-media interface in snap description MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: ๆž—ๅšไป(Buo-Ren Lin) --- snap/snapcraft.yaml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/snap/snapcraft.yaml b/snap/snapcraft.yaml index 09fe2cc..b7f0e96 100644 --- a/snap/snapcraft.yaml +++ b/snap/snapcraft.yaml @@ -15,6 +15,13 @@ description: | - To point out subtle caveats, corner cases and pitfalls that may cause an advanced user's otherwise working script to fail under future circumstances. + + By default ShellCheck can only check non-hidden files under /home, to make + ShellCheck be able to check files under /media and /run/media you must + connect it to the `removable-media` interface manually: + + # snap connect shellcheck:removable-media + version: git grade: devel confinement: strict