1
0
mirror of https://gitlab.com/kelteseth/ScreenPlay.git synced 2024-11-07 03:22:33 +01:00

Add print for git diff

This commit is contained in:
Elias Steurer 2020-10-29 19:52:28 +01:00
parent 685c13d87d
commit f6db59f955
2 changed files with 2 additions and 0 deletions

View File

@ -17,4 +17,5 @@ output = subprocess.check_output("git diff", shell=True)
if output: if output:
print("Git diff is not empty. This means your CMakeLists.txt file was not formatted via %s!" % executable) print("Git diff is not empty. This means your CMakeLists.txt file was not formatted via %s!" % executable)
print(output)
sys.exit(1) sys.exit(1)

View File

@ -18,4 +18,5 @@ output = subprocess.check_output("git diff", shell=True)
if output: if output:
print("Git diff is not empty. This means your code was not formatted via %s!" % executable) print("Git diff is not empty. This means your code was not formatted via %s!" % executable)
print(output)
sys.exit(1) sys.exit(1)