5 lines
123 B
Bash
Executable File
5 lines
123 B
Bash
Executable File
#!/bin/sh
|
|
ROOT=$(git rev-parse --show-toplevel 2>/dev/null)
|
|
[ -z "$ROOT" ] && exit 0
|
|
node "$ROOT/scripts/format-staged.js"
|