Fix missing 'then' in 'if' statement

Bug: b/203200623
Change-Id: Icb1d82ea8b629dd3be71f843b7cb05fe9b9f1b8c
diff --git a/pre-commit b/pre-commit
index e3760ff..c63237a 100755
--- a/pre-commit
+++ b/pre-commit
@@ -7,7 +7,7 @@
 fi
 
 # Do not perform pre-commit on Windows
-if [[ "$OSTYPE" == "win32" || "$OSTYPE" == "msys" ]]
+if [[ "$OSTYPE" == "win32" || "$OSTYPE" == "msys" ]]; then
     exit 0
 fi