check sourced
This commit is contained in:
parent
e029b00cae
commit
84f6922b6f
1 changed files with 3 additions and 1 deletions
|
@ -15,7 +15,9 @@ sh_source_check() {
|
|||
-name "*.sh" \
|
||||
-printf ". \"%P\"\n" \
|
||||
>"${file}"
|
||||
shellcheck "${file}"
|
||||
shellcheck \
|
||||
--check-sourced \
|
||||
"${file}"
|
||||
rm "${file}"
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue