8 lines
142 B
Bash
Executable file
8 lines
142 B
Bash
Executable file
#!/usr/bin/env bash
|
|
|
|
set -euo pipefail
|
|
|
|
for file in "$@"
|
|
do
|
|
yarn run -s jsonlint -p "$file" | perl -pe 'chomp if eof' | diff "$file" -
|
|
done
|