Explorar el Código

Merge pull request #157 from mcavoyk/ci/print-diff-err

ci: print diff error on failure
paul-the-alien[bot] hace 5 años
padre
commit
e627d0398d
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      Makefile

+ 1 - 1
Makefile

@@ -69,7 +69,7 @@ reviewable: generate helm.generate
 # Ensure branch is clean.
 # Ensure branch is clean.
 check-diff: reviewable
 check-diff: reviewable
 	@$(INFO) checking that branch is clean
 	@$(INFO) checking that branch is clean
-	@test -z "$$(git status --porcelain)" || $(FAIL)
+	@test -z "$$(git status --porcelain)" || (echo "$$(git status --porcelain)" && $(FAIL))
 	@$(OK) branch is clean
 	@$(OK) branch is clean
 
 
 # ====================================================================================
 # ====================================================================================