automate icon indicating copy to clipboard operation
automate copied to clipboard

Helper.go file for warning message

Open kparmar2000 opened this issue 1 year ago • 1 comments

:nut_and_bolt: Description: What code changed, and why?

Added a helper.go file to give warning message or command blockage if the license has been expired the file contain 2 function : WarnLicenseStatusForExpiry: That gives out warning meassage for use of cli, checkLicenseStatusForExpiry: That gives an error n block use of that cli.

:chains: Related Resources

:+1: Definition of Done

Tested the functioning of cli for all the used cases. each cli is working well n producing the desired warn or error message according to there needs

:athletic_shoe: How to Build and Test the Change

:white_check_mark: Checklist

All PRs must tick these:

With occasional exceptions, all PRs from Progress employees must tick these:

  • [x] Is the code clear? (complicated code or lots of comments--subdivide and use well-named methods, meaningful variable names, etc.)
  • [x] Consistency checked? (user notifications, user prompts, visual patterns, code patterns, variable names)
  • [x] Repeated code blocks eliminated? (adapt and reuse existing components, blocks, functions, etc.)
  • [x] Spelling, grammar, typos checked? (at a minimum use make spell in any component directory)
  • [x] Code well-formatted? (indents, line breaks, etc. improve rather than hinder readability)

All PRs from Progress employees should tick these if appropriate:

  • [x] Tests added/updated? (all new code needs new tests)
  • [x] Docs added/updated? (all customer-facing changes)

Please add a note next to any checkbox above if you are NOT ticking it.

:camera: Screenshots, if applicable

Screenshot 2024-07-04 at 12 47 07 PM Screenshot 2024-07-04 at 11 03 30 AM Screenshot 2024-07-04 at 10 38 55 AM Screenshot 2024-07-04 at 11 36 30 AM

kparmar2000 avatar Jun 12 '24 04:06 kparmar2000

Quality Gate failed Quality Gate failed

Failed conditions
2 New issues
1.9% Coverage on New Code (required ≥ 80%)

See analysis details on SonarQube

Catch issues before they fail your Quality Gate with our IDE extension SonarLint SonarLint