mirror of
https://gitea.windcorp.ru/Wind-Corporation/Progressia.git
synced 2025-04-21 19:30:46 +03:00
TMP / pre-commit.py: declare restore=False
This commit is contained in:
parent
1fd971beaf
commit
8690f57833
@ -219,6 +219,7 @@ def pre_commit():
|
|||||||
run_safety_checks(indexed, unindexed)
|
run_safety_checks(indexed, unindexed)
|
||||||
|
|
||||||
undo_formatting = False
|
undo_formatting = False
|
||||||
|
restore = False
|
||||||
try:
|
try:
|
||||||
if len(unindexed) != 0:
|
if len(unindexed) != 0:
|
||||||
long_print_iter('Unindexed changes found in files', unindexed)
|
long_print_iter('Unindexed changes found in files', unindexed)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user