mirror of
https://github.com/koalaman/shellcheck.git
synced 2025-08-08 08:01:12 +08:00
Fix snap distribution unable to process scripts in Unicode(Chinese) (fixes #1643)
The snap runtime only supports C.UTF-8 locale, as other locales don't seem to be used now just hardcode it. Fixes #1643. Signed-off-by: 林博仁(Buo-ren, Lin) <Buo.Ren.Lin@gmail.com>
This commit is contained in:
@@ -31,6 +31,8 @@ apps:
|
|||||||
shellcheck:
|
shellcheck:
|
||||||
command: usr/bin/shellcheck
|
command: usr/bin/shellcheck
|
||||||
plugs: [home, removable-media]
|
plugs: [home, removable-media]
|
||||||
|
environment:
|
||||||
|
LANG: C.UTF-8
|
||||||
|
|
||||||
parts:
|
parts:
|
||||||
shellcheck:
|
shellcheck:
|
||||||
|
Reference in New Issue
Block a user