mirror of
https://github.com/cookiecutter/cookiecutter-django.git
synced 2025-08-08 14:04:52 +03:00
Fix pre_gen hook not really exiting when it should
This commit is contained in:
parent
ee8a5c2692
commit
d655bee114
|
@ -32,7 +32,7 @@ if using_docker == 'n':
|
||||||
"Generation process stopped as requested." +
|
"Generation process stopped as requested." +
|
||||||
TERMINATOR
|
TERMINATOR
|
||||||
)
|
)
|
||||||
sys.exit(0)
|
sys.exit(1)
|
||||||
else:
|
else:
|
||||||
sys.stdout.write(
|
sys.stdout.write(
|
||||||
HINT +
|
HINT +
|
||||||
|
|
Loading…
Reference in New Issue
Block a user