From 918a7f9501a0181c9d8be1e8d42c37fa4ed86a6a Mon Sep 17 00:00:00 2001 From: Theo <157373281+dr-thca@users.noreply.github.com> Date: Wed, 12 Feb 2025 10:54:21 +0100 Subject: [PATCH] [eas-cli] Clarify error message regarding ignored files (#2905) # Why I struggled with adding a new workflow within `.eas/build` since I had `build/` in my `.gitignore`. I removed the line but it was still an issue. Turns out I had the same thing in `.easignore`. I think adding this to the error message could be helpful for others # How Not tested --- packages/eas-cli/src/project/customBuildConfig.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/eas-cli/src/project/customBuildConfig.ts b/packages/eas-cli/src/project/customBuildConfig.ts index 824639fdea..94136bc4a9 100644 --- a/packages/eas-cli/src/project/customBuildConfig.ts +++ b/packages/eas-cli/src/project/customBuildConfig.ts @@ -37,7 +37,7 @@ export async function validateCustomBuildConfigAsync({ throw new Error( `Custom build configuration file ${chalk.bold( relativeConfigPath - )} is ignored by your version control system. Remove it from the ignore list to successfully create custom build.` + )} is ignored by your version control system or .easignore. Remove it from the ignore list to successfully create custom build.` ); }