refactor(core): Ignore SC2317

This commit is contained in:
4s3ti 2023-03-16 01:13:08 +01:00
parent b3f07b43e3
commit fe03be4396
No known key found for this signature in database
GPG key ID: AC2D3B898F96BC51
2 changed files with 3 additions and 0 deletions

View file

@ -1531,7 +1531,9 @@ isRepo() {
return 1 return 1
} }
${SUDO} git status &> /dev/null && echo " OK!" ${SUDO} git status &> /dev/null && echo " OK!"
#shellcheck disable=SC2317
return 0 || echo " not found!" return 0 || echo " not found!"
#shellcheck disable=SC2317
return 1 return 1
} }

View file

@ -1,4 +1,5 @@
#!/bin/bash #!/bin/bash
#shellcheck disable=SC2317
### Updates pivpn scripts (Not PiVPN) ### Updates pivpn scripts (Not PiVPN)
# TODO: Delete this section when the updating functionality will be re-enabled # TODO: Delete this section when the updating functionality will be re-enabled
### ###