Skip to content
This repository has been archived by the owner on Jan 18, 2024. It is now read-only.

Commit

Permalink
chore(expo-cli): add better warning when prebuilding in non-interacti…
Browse files Browse the repository at this point in the history
…ve mode (#4456)
  • Loading branch information
wkozyra95 authored Aug 1, 2022
1 parent 96ee81f commit bf44f0c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions packages/expo-cli/src/commands/eject/clearNativeFolder.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit bf44f0c

Please sign in to comment.