Skip to content

XRAY-145620 - Report actual module count in git audit config profile error#793

Open
Jordanh1996 wants to merge 1 commit into
jfrog:mainfrom
Jordanh1996:fix/XRAY-145620-module-count-error
Open

XRAY-145620 - Report actual module count in git audit config profile error#793
Jordanh1996 wants to merge 1 commit into
jfrog:mainfrom
Jordanh1996:fix/XRAY-145620-module-count-error

Conversation

@Jordanh1996

@Jordanh1996 Jordanh1996 commented Jul 2, 2026

Copy link
Copy Markdown

Summary

Align jf git audit config-profile validation with Frogbot (XRAY-145620).

verifyConfigProfile now reports expected exactly 1 module in '<profile>' profile, found %d instead of the misleading more than one module message when centralized config profiles are empty.

Companion PRs

Test plan

  • go build ./commands/git/audit/...
  • jf git audit against 0-module profile → found 0

…error.

Align jf git audit validation message with Frogbot when a centralized config
profile does not have exactly one module.

Co-authored-by: Cursor <cursoragent@cursor.com>
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.

1 participant