Skip to content
This repository was archived by the owner on Jan 30, 2025. It is now read-only.

Commit de86918

Browse files
committed
Fix shellcheck when source non-existing files
1 parent 5f059cb commit de86918

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tests/tests.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@ kubectl get pods -l k8s-app=kube-dns -n kube-system -o name | xargs kubectl dele
5454
echo -e "\n\n******************************\n*** Main tests\n******************************\n"
5555

5656
test -s ./demo-magic.sh || curl --silent https://raw.githubusercontent.com/paxtonhare/demo-magic/master/demo-magic.sh > demo-magic.sh
57+
# shellcheck disable=SC1091
5758
. ./demo-magic.sh
5859

5960
export TYPE_SPEED=60
@@ -79,6 +80,7 @@ sed \
7980
-e 's/^```$/'"'"'/' \
8081
> README.sh
8182

83+
# shellcheck disable=SC1091
8284
source README.sh
8385

8486
sudo sed -i '/172.17.255.1/d' /etc/hosts

0 commit comments

Comments
 (0)