Skip to content

πŸ› Fix: Resolve issue with button variant detection #965

πŸ› Fix: Resolve issue with button variant detection

πŸ› Fix: Resolve issue with button variant detection #965

Status Failure
Total duration 4m 24s
Artifacts

lint-style.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

1 error and 4 warnings
commitlint
You have commit messages with errors β§— input: πŸ› Fix: Resolve issue with button variant detection πŸ“ Problem: The previous code did not handle the case where 'args.variant' was undefined, leading to a 'Cannot read properties of undefined' error. πŸ› οΈ Solution: Added a check to ensure 'args.variant' is defined before using it in the conditional logic. If 'args.variant' is undefined, it defaults to an empty string, preventing the error and allowing proper detection of the variant. πŸš€ Impact: This fix ensures that the button variant detection works correctly, providing a smoother user experience and preventing potential errors. βœ– body's lines must not be longer than 100 characters [body-max-line-length] βœ– subject may not be empty [subject-empty] βœ– type may not be empty [type-empty] βœ– found 3 problems, 0 warnings β“˜ Get help: https://github.com/conventional-changelog/commitlint/#what-is-commitlint
commitlint
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
commitlint
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
pre-commit
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, asdf-vm/actions/setup@v1, actions/cache@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
pre-commit
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/