diff options
| author | Adam Soltys <adam@coinos.io> | 2026-10-05 21:05:16 -0700 |
|---|---|---|
| committer | Adam Soltys <adam@coinos.io> | 2026-10-05 21:05:16 -0700 |
| commit | 24becc83eeef36418a0db04329e71900374a162e (patch) | |
| tree | 1b1465e81ba7d28c068fe93106398a08375ef486 /static/PublicSans-Italic.woff2 | |
| parent | 103#!/bin/sh
FILES=$(git diff --cached --name-only --diff-filter=ACMR | sed 's| |\\ |g')
[ -z "$FILES" ] && exit 0
# Prettify all selected files
echo "$FILES" | xargs ./node_modules/.bin/prettier --ignore-unknown --write
# Add back the modified/prettified files to staging
echo "$FILES" | xargs git add
exit 0
| |
