mirror of
https://github.com/scopatz/nanorc
synced 2025-06-20 05:30:08 +02:00
Update tests.sh
This commit is contained in:
parent
bd95a5f820
commit
fd9a31365f
4
tests.sh
4
tests.sh
@ -45,10 +45,12 @@ f_test_nano_version() {
|
||||
return f_compare_version $G_NANO_VERSION $version
|
||||
}
|
||||
|
||||
f_test_nano_version() {
|
||||
f_test_shellcheck_version() {
|
||||
local version="nano --version | cut -d ' ' -f 8"
|
||||
return f_compare_version $G_SHELLCHECK_VERSION $version
|
||||
}
|
||||
|
||||
f_test_nano_version
|
||||
f_test_shellcheck_version
|
||||
# ....shellcheck -f diff *.sh | git apply | git commit -a -m "Shellcheck fast corrections"
|
||||
shellcheck *.sh
|
||||
|
Loading…
x
Reference in New Issue
Block a user