mirror of
https://github.com/transloadit/uppy.git
synced 2026-01-23 02:25:07 +00:00
Doesn’t work yet — fails even on exit 0 Should only care about files staged for committing, right?
7 lines
198 B
Bash
7 lines
198 B
Bash
#!/usr/bin/env bash
|
|
PATH=$PATH:/usr/local/bin:/usr/local/sbin
|
|
|
|
npm run test || echo "Tests (or tasks) failed, aborting the commit" && exit 1
|
|
|
|
echo "All tests passed, committing your changes"
|
|
exit 0
|