mirror of
https://github.com/home-assistant/core
synced 2024-09-06 10:29:55 +02:00
![Paulus Schoutsen](/assets/img/avatar_default.png)
* Fail if dirty * Update check_dirty * Update text * Fix comment * Add -e * Update dirty script
8 lines
238 B
Bash
Executable File
8 lines
238 B
Bash
Executable File
#!/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
|