            else do
            (let ((inhibit-message t))
              (sleep-for 0.1)))
-  ;; HACK Write .error files for any missing files which still don't
-  ;; exist. We'll just assume there was some kind of error...
+  ;; HACK Write .error files for any missing files which still don't exist.
+  ;;      We'll just assume there was some kind of error...
   (cl-loop for eln-file in doom--expected-eln-files
            for error-file = (concat eln-file ".error")
            unless (or (file-exists-p eln-file)

           (print! (success "Rebuilt %d package(s)") (length built)))
       (print! (success "No packages need rebuilding"))
       nil))))


(defun doom-cli-packages-update ()

                  ;; Ensure packages with outdated files/bytecode are rebuilt
                  (let ((build-dir (straight--build-dir package))
                        (repo-dir  (straight--repos-dir local-repo)))
                    (and (not (plist-get recipe :no-build))
                         (or (file-newer-than-file-p repo-dir build-dir)
                             (file-exists-p (straight--modified-dir (or local-repo package)))
                             (cl-loop with want-byte   = (straight--byte-compile-package-p recipe)
                                      with want-native = (if (require 'comp nil t) (straight--native-compile-package-p recipe))
                                      for file in (doom-files-in build-dir :match "\\.el$" :full t)
                                      if (or (if want-byte   (doom--elc-file-outdated-p file))
                                             (if want-native (doom--eln-file-outdated-p file)))
                                      return t))
                         (puthash package t straight--packages-to-rebuild))))
                (straight-use-package (intern package))))
         (progn
