mirror of
https://github.com/microsoft/TypeScript.git
synced 2025-12-12 11:50:54 -06:00
5 lines
199 B
Bash
Executable File
5 lines
199 B
Bash
Executable File
#!/bin/sh
|
|
if git diff --name-only --cached --relative | xargs --no-run-if-empty ./node_modules/.bin/dprint fmt; then
|
|
git diff --name-only --cached --relative | xargs --no-run-if-empty git add
|
|
fi
|