From 048b7f19d2349a0ebeac11e50dcf6ea84176ed83 Mon Sep 17 00:00:00 2001 From: filip131311 <159789821+filip131311@users.noreply.github.com> Date: Fri, 11 Oct 2024 09:23:24 +0200 Subject: [PATCH] Fix wrong Condition (#607) This PR fixes a mistake in condition checking if android and ios directories are optional. --- packages/vscode-extension/src/dependency/DependencyManager.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/vscode-extension/src/dependency/DependencyManager.ts b/packages/vscode-extension/src/dependency/DependencyManager.ts index 361987edb..869dc602a 100644 --- a/packages/vscode-extension/src/dependency/DependencyManager.ts +++ b/packages/vscode-extension/src/dependency/DependencyManager.ts @@ -352,5 +352,5 @@ async function areNativeDirectoriesOptional(): Promise { const isExpoGo = await isExpoGoProject(); const launchConfiguration = getLaunchConfiguration(); - return isExpoGo && !!launchConfiguration.eas && !!launchConfiguration.customBuild; + return isExpoGo || !!launchConfiguration.eas || !!launchConfiguration.customBuild; }