mirror of
https://github.com/vale981/tridactyl
synced 2025-03-05 09:31:41 -05:00
Fix #2810: run shellcheck if it is installed
This commit is contained in:
parent
4a016163eb
commit
2d42f3bd70
1 changed files with 1 additions and 1 deletions
|
@ -1,6 +1,6 @@
|
|||
#!/bin/sh
|
||||
cd ${0%/*}/..
|
||||
if ! [ -x "$(command -v shellcheck)" ]; then
|
||||
if [ -x "$(command -v shellcheck)" ]; then
|
||||
GLOBIGNORE="node_modules" shellcheck -e2012 **/*.sh
|
||||
else
|
||||
echo "Warning: shellcheck is not installed, skipping shell scripts"
|
||||
|
|
Loading…
Add table
Reference in a new issue