Skip to content

Restructured the script files and the template file. Move logic from check-scripts to core gitcc script. Fix bug in lib.sh.#7

Merged
angtheod merged 1 commit into
masterfrom
develop
May 16, 2026
Merged

Restructured the script files and the template file. Move logic from check-scripts to core gitcc script. Fix bug in lib.sh.#7
angtheod merged 1 commit into
masterfrom
develop

Conversation

@angtheod
Copy link
Copy Markdown
Owner

Developers now have to implement the 'before_run' and 'run' functions within their script.

  • Function 'before_run' must be implemented. Should initialize certain variables.
  • Function 'run' must be implemented. Should contain the check's logic. Typical use case added in the template file.
  • Function 'after_run' may be implemented. May contain any post-check actions.
  • Move more logic from within the scripts to the core gitcc script and refactored 'check' function.
  • Fix a bug in the lib function parse_npm_audit.

…ave to implement the 'before_run' and 'run' functions within their script.

- Function 'before_run' must be implemented. Should initialize certain variables.
- Function 'run' must be implemented. Should contain the check's logic. Typical use case added in the template file.
- Function 'after_run' may be implemented. May contain any post-check actions.
- Move more logic from within the scripts to the core gitcc script and refactored 'check' function.
- Fix a bug in the lib function parse_npm_audit.
@angtheod angtheod merged commit b4ef629 into master May 16, 2026
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