diff options
| author | Richie Foreman <[email protected]> | 2025-08-17 12:43:21 -0400 |
|---|---|---|
| committer | GitHub <[email protected]> | 2025-08-17 16:43:21 +0000 |
| commit | 2998f27f703282359f6389d1c2d8758fc6a14955 (patch) | |
| tree | a7e3ff7f969c44e61ab27240cdd615e291b6deae /packages/core/src/utils/shell-utils.ts | |
| parent | ec1fa954d18ec9abab3ce669536dd24559a499f1 (diff) | |
chore(compiler): Enable strict property access TS compiler flag. (#6255)
Co-authored-by: Jacob Richman <[email protected]>
Diffstat (limited to 'packages/core/src/utils/shell-utils.ts')
| -rw-r--r-- | packages/core/src/utils/shell-utils.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/core/src/utils/shell-utils.ts b/packages/core/src/utils/shell-utils.ts index 2c818c8e..808cf893 100644 --- a/packages/core/src/utils/shell-utils.ts +++ b/packages/core/src/utils/shell-utils.ts @@ -37,7 +37,7 @@ export interface ShellConfiguration { */ export function getShellConfiguration(): ShellConfiguration { if (isWindows()) { - const comSpec = process.env.ComSpec || 'cmd.exe'; + const comSpec = process.env['ComSpec'] || 'cmd.exe'; const executable = comSpec.toLowerCase(); if ( |
