Skip to content

Conversation

@jfeingold35
Copy link
Contributor

What does this PR do?

It causes forceIgnore.denies() to emit a debug-level log whenever a file is ignored.

What issues does this PR fix or reference?

forcedotcom/cli#3345 @W-19470890@

Functionality Before

If your .forceignore file included **/*.md, then following the steps in this reply to the original issue would result in .md-meta.xml files being silently ignored.

Functionality After

Now, if you use --dev-debug in your command, then a log message will be included that says Ignoring file 'X' because it matches .forceignore patterns, or something to that effect.

Copy link
Contributor

@mshanemc mshanemc left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

approved without QA because it's log-only, seems harmless.

ut seems silly, I would have skipped that, but also harmless

@mshanemc mshanemc merged commit 74774dc into main Dec 5, 2025
49 checks passed
@mshanemc mshanemc deleted the jf/W-19470890 branch December 5, 2025 23:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants