From 08f74d2647c82d18a0b96a4794489df9c59c4b8e Mon Sep 17 00:00:00 2001 From: Wojciech Kozyra Date: Tue, 5 Jul 2022 16:04:48 +0200 Subject: [PATCH] add better warning when prebuilding in non-interactive mode --- packages/expo-cli/src/commands/eject/clearNativeFolder.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/packages/expo-cli/src/commands/eject/clearNativeFolder.ts b/packages/expo-cli/src/commands/eject/clearNativeFolder.ts index 971b9b8ae3..a312936d57 100644 --- a/packages/expo-cli/src/commands/eject/clearNativeFolder.ts +++ b/packages/expo-cli/src/commands/eject/clearNativeFolder.ts @@ -104,6 +104,9 @@ export async function promptToClearMalformedNativeProjectsAsync( initial: true, })) ) { + if (isNonInteractive()) { + Log.warn(`${message}, project files will be cleared and reinitialized.`); + } await clearNativeFolder(projectRoot, platforms); } else { // Warn the user that the process may fail.