mirror of
https://github.com/home-assistant/core
synced 2024-10-14 23:31:43 +00:00
8 lines
238 B
Plaintext
8 lines
238 B
Plaintext
|
#!/bin/bash
|
||
|
[[ -z $(git ls-files --others --exclude-standard) ]] && exit 0
|
||
|
|
||
|
echo -e '\n***** ERROR\nTests are leaving files behind. Please update the tests to avoid writing any files:'
|
||
|
git ls-files --others --exclude-standard
|
||
|
echo
|
||
|
exit 1
|