Jelajahi Sumber

shellcheck directive

stilez 6 tahun lalu
induk
melakukan
343d7df57c
1 mengubah file dengan 4 tambahan dan 0 penghapusan
  1. 4 0
      dnsapi/dns_pleskxml.sh

+ 4 - 0
dnsapi/dns_pleskxml.sh

@@ -1,5 +1,9 @@
 #!/usr/bin/env sh
 #!/usr/bin/env sh
 
 
+# Globally disable this shellcheck error. 
+# Shellcheck errors on egrep ("deprecated"), but acme.sh uses egrep for compatibility.
+# shellcheck disable=SC2196
+
 ##  Name: dns_pleskxml.sh
 ##  Name: dns_pleskxml.sh
 ##  Created by Stilez.
 ##  Created by Stilez.
 ##  Also uses some code from PR#1832 by @romanlum (https://github.com/Neilpang/acme.sh/pull/1832/files)
 ##  Also uses some code from PR#1832 by @romanlum (https://github.com/Neilpang/acme.sh/pull/1832/files)