Skip to content
  • Vincent Pelletier's avatar
    shell/caucase.sh: Make shellcheck happy · 19bd2184
    Vincent Pelletier authored
    Resolves the following warning:
    In caucase.sh line 293:
    pem2fingerprint () {
    ^-- SC2120 (warning): pem2fingerprint references arguments, but none are ever passed.
    
    In caucase.sh line 300:
      test "$1" = "$(pem2fingerprint)" && return 1
                     ^-------------^ SC2119 (info): Use pem2fingerprint "$@" if function's $1 should mean script's $1.
    
    In caucase.sh line 391:
        | pem2fingerprint)" && return
          ^-------------^ SC2119 (info): Use pem2fingerprint "$@" if function's $1 should mean script's $1.
    
    For more information:
      https://www.shellcheck.net/wiki/SC2120 -- pem2fingerprint references argume...
      https://www.shellcheck.net/wiki/SC2119 -- Use pem2fingerprint "$@" if funct...
    19bd2184