diff --git a/script/format b/script/format index c7f3e77c..7bb1e17d 100755 --- a/script/format +++ b/script/format @@ -4,9 +4,9 @@ FILES_TO_FORMAT="atst/ tests/ app.py script/" if [ "$1" == "check" ]; then pipenv run black --check ${FILES_TO_FORMAT} - yarn run prettier --check "js/**/*.js" --config ./prettier.config.json + yarn run prettier --list-different "js/**/*.js" --config ./prettier.config.json else pipenv run black ${FILES_TO_FORMAT} - yarn run prettier --write "js/**/*.js" --config ./prettier.config.json + yarn run prettier --list-different --write "js/**/*.js" --config ./prettier.config.json sass-convert ./styles --in-place --recursive --from scss --to scss --quiet fi