浏览代码

shellcheck directive

stilez 6 年之前
父节点
当前提交
343d7df57c
共有 1 个文件被更改,包括 4 次插入0 次删除
  1. 4 0
      dnsapi/dns_pleskxml.sh

+ 4 - 0
dnsapi/dns_pleskxml.sh

@@ -1,5 +1,9 @@
 #!/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
 ##  Created by Stilez.
 ##  Also uses some code from PR#1832 by @romanlum (https://github.com/Neilpang/acme.sh/pull/1832/files)