浏览代码

shellcheck cleanup

shellcheck sees '\\' as trying to escape the trailing quote (see
koalaman/shellcheck#1548 ).
Brian Hartvigsen 4 年之前
父节点
当前提交
dcb51683c5
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      deploy/synology_dsm.sh

+ 1 - 0
deploy/synology_dsm.sh

@@ -66,6 +66,7 @@ synology_dsm_deploy() {
   _getdeployconf SYNO_Certificate
   _debug SYNO_Certificate "${SYNO_Certificate:-}"
 
+  # shellcheck disable=SC1003 # We are not trying to escape a single quote
   if printf "%s" "$SYNO_Certificate" | grep '\\'; then
     _err "Do not use a backslash (\) in your certificate description"
     return 1