Skip to content

Commit a090e92

Browse files
committed
missing awaits
1 parent f6b51ac commit a090e92

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/features/terminal/shells/fish/fishStartup.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ async function isStartupSetup(profilePath: string, key: string): Promise<boolean
5858

5959
async function setupStartup(profilePath: string, key: string): Promise<boolean> {
6060
try {
61-
if (shellIntegrationForActiveTerminal('fish', profilePath) && !isWsl()) {
61+
if ((await shellIntegrationForActiveTerminal('fish', profilePath)) && !isWsl()) {
6262
removeFishStartup(profilePath, key);
6363
return true;
6464
}

src/features/terminal/shells/pwsh/pwshStartup.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ async function isPowerShellStartupSetup(shell: string, profile: string): Promise
168168
}
169169

170170
async function setupPowerShellStartup(shell: string, profile: string): Promise<boolean> {
171-
if (shellIntegrationForActiveTerminal(shell, profile) && !isWsl()) {
171+
if ((await shellIntegrationForActiveTerminal(shell, profile)) && !isWsl()) {
172172
removePowerShellStartup(shell, profile, POWERSHELL_OLD_ENV_KEY);
173173
removePowerShellStartup(shell, profile, POWERSHELL_ENV_KEY);
174174
return true;

0 commit comments

Comments
 (0)