From 2998f27f703282359f6389d1c2d8758fc6a14955 Mon Sep 17 00:00:00 2001 From: Richie Foreman Date: Sun, 17 Aug 2025 12:43:21 -0400 Subject: chore(compiler): Enable strict property access TS compiler flag. (#6255) Co-authored-by: Jacob Richman --- packages/cli/src/ui/hooks/useThemeCommand.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'packages/cli/src/ui/hooks/useThemeCommand.ts') diff --git a/packages/cli/src/ui/hooks/useThemeCommand.ts b/packages/cli/src/ui/hooks/useThemeCommand.ts index 6c9e60d8..cf881f53 100644 --- a/packages/cli/src/ui/hooks/useThemeCommand.ts +++ b/packages/cli/src/ui/hooks/useThemeCommand.ts @@ -39,7 +39,7 @@ export const useThemeCommand = ( }, [loadedSettings.merged.theme, setThemeError]); const openThemeDialog = useCallback(() => { - if (process.env.NO_COLOR) { + if (process.env['NO_COLOR']) { addItem( { type: MessageType.INFO, -- cgit v1.2.3