#!/bin/sh -e
executable=$1
path=$2
# shellcheck disable=SC2046
"${executable:-shfmt}" -d $("${executable:-shfmt}" -f "${path}" | grep -v "${path}/local/")
