Fixed bug in clean-working-directory
authorSaba Saba <saba@sabadev.xyz>
Thu, 9 Feb 2023 17:26:18 +0000 (12:26 -0500)
committerSaba Saba <saba@sabadev.xyz>
Thu, 9 Feb 2023 17:26:18 +0000 (12:26 -0500)
git-repl.cl

index 3293123..bbd6da9 100644 (file)
@@ -16,8 +16,8 @@
 
 (defmacro clean-working-directory (&body body)
   `(if (null (modified-files))
-       (write-line "You have modified files. Please stash or commit your files before proceeding.")
-       ,@body))
+       ,@body
+       (write-line "You have modified files. Please stash or commit your files before proceeding.")))
 
 (defvar-public *grep* "findstr" "The name of the program used for searching. On Windows this is set to \'findstr\', but it may be changed to \'grep\' for Unix systems.")