wormhole/node/pkg/watchers/near/nearapi/mock/prettyMock.sh

7 lines
265 B
Bash
Executable File

# This script requires `sponge`.
# To install sponge on RHEL 8:
# subscription-manager repos --enable codeready-builder-for-rhel-8-x86_64-rpms
# dnf install moreutils
find "$(dirname "$(realpath "$0")")" -type f -name '*.json' -exec sh -c "jq . {} | sponge {}" \;