From a90aeb3d8fd05fc6303ce9ef4e957c2e19cbe9c4 Mon Sep 17 00:00:00 2001
From: Richie Foreman <richie.foreman@gmail.com>
Date: Wed, 13 Aug 2025 16:17:38 -0400
Subject: chore(build/compiler): Enable a bunch of strict TS compiler options.
 (#6138)

---
 packages/cli/src/ui/commands/directoryCommand.tsx | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

(limited to 'packages/cli/src/ui/commands/directoryCommand.tsx')

diff --git a/packages/cli/src/ui/commands/directoryCommand.tsx b/packages/cli/src/ui/commands/directoryCommand.tsx
index 6c667f44..d3f50e4c 100644
--- a/packages/cli/src/ui/commands/directoryCommand.tsx
+++ b/packages/cli/src/ui/commands/directoryCommand.tsx
@@ -138,13 +138,11 @@ export const directoryCommand: SlashCommand = {
 
         if (errors.length > 0) {
           addItem(
-            {
-              type: MessageType.ERROR,
-              text: errors.join('\n'),
-            },
+            { type: MessageType.ERROR, text: errors.join('\n') },
             Date.now(),
           );
         }
+        return;
       },
     },
     {
-- 
cgit v1.2.3

