Skip to content

Commit

Permalink
[eas-cli] Clarify error message regarding ignored files (#2905)
Browse files Browse the repository at this point in the history
<!-- If this PR requires a changelog entry, add it by commenting the PR with the command `/changelog-entry [breaking-change|new-feature|bug-fix|chore] [message]`. -->
<!-- You can skip the changelog check by labeling the PR with "no changelog". -->

# 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
  • Loading branch information
dr-thca authored Feb 12, 2025
1 parent 852dac0 commit 918a7f9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/eas-cli/src/project/customBuildConfig.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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.`
);
}

Expand Down

0 comments on commit 918a7f9

Please sign in to comment.