You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Strict adherence to gitignore format on forceignore incorrectly calls out Default_Navigation.navigationMenu-meta.xml #772
The CLI is now announcing a message that with Spring21, the .forceignore must strictly adhere to .gitignore format.
When working with communities and ExperienceBundle metadata format, the file Default_Navigation.navigationMenu-meta.xml could appear. We are forceignoring this in order to not add confusion to our project navigationMenu files.
The CLI is warning that Default_Navigation.navigationMenu-meta.xml is not in the correct format.
Steps To Reproduce:
create a scratch org with communities enabled
Add Default_Navigation.navigationMenu-meta.xml to the .forceignore file
Execute sfdx force:source:pull command
Expected result
No warning message
Actual result
Warning message seen
Warning: The .forceignore file doesn't adhere to .gitignore format which will be the default behavior starting in Spring '21 release. More information on .gitignore format here: https://git-scm.com/docs/gitignore. Fix the following lines in your .forceignore and add '# .forceignore v2' to your .forceignore file to switch to the new behavior.
(node:51273) Warning: Default_Navigation.navigationMenu-meta.xml
Additional information
SFDX CLI Version(to find the version of the CLI engine run sfdx --version):
Thank you for filing this issue. We appreciate your feedback and will review the issue as soon as possible. Remember, however, that GitHub isn't a mechanism for receiving support under any agreement or SLA. If you require immediate assistance, contact Salesforce Customer Support.
Activity
github-actions commentedon Dec 21, 2020
Thank you for filing this issue. We appreciate your feedback and will review the issue as soon as possible. Remember, however, that GitHub isn't a mechanism for receiving support under any agreement or SLA. If you require immediate assistance, contact Salesforce Customer Support.
jclark-dot-org commentedon Jan 7, 2021
I'm seeing the same issue with the line:
I've tried backslash in front of
_,-, and both, no change.Mac OS 10.14.5
mshanemc commentedon Dec 9, 2021
this is no longer reproducible for me (probably due to the changes to forceignore) on either source:pull or the new source:beta:pull.
I'll close it, and please open a new issue if you can reproduce it (that way we get updated plugins/version info, too)