FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Fix `paths`/`paths-ignore` warning that would appear unconditionally by henrymercer · Pull Request #2080 · github/codeql-action · GitHub

Fix paths/paths-ignore warning that would appear unconditionally - #2080

Merged
henrymercer merged 2 commits into
mainfrom
henrymercer/fix-unconditional-warning
Jan 11, 2024
Merged

Fix paths/paths-ignore warning that would appear unconditionally#2080
henrymercer merged 2 commits into
mainfrom
henrymercer/fix-unconditional-warning

Conversation

Copy link
Copy Markdown
Contributor

This warning should only appear on traced languages if the user has configured paths or paths-ignore, however it was appearing unconditionally. This is because undefined?.length !== 0 evaluates to true.

Merge / deployment checklist

  • Confirm this change is backwards compatible with existing workflows.
  • Confirm the readme has been updated if necessary.
  • Confirm the changelog has been updated if necessary.

henrymercer requested a review from a team as a code owner January 11, 2024 11:56
tamasvajk previously approved these changes Jan 11, 2024

tamasvajk left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

LGTM

henrymercer merged commit eb14aeb into main Jan 11, 2024
henrymercer deleted the henrymercer/fix-unconditional-warning branch January 11, 2024 12:34
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
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.

2 participants


Back | FazBrowse Home | New Git URL