opensource-nepal / commitlint

commitlint is a tool designed to lint your commit messages according to the Conventional Commits standard for your pre-commit hook and GitHub Actions.
GNU General Public License v3.0
22 stars 9 forks source link

fix: handle the file not found error gracefully #46

Closed golesuman closed 6 months ago

golesuman commented 6 months ago

Description

Give meaningful error message than giving the full stack trace when the file is not found.

Related Issue

Fixes: #44

Type of Change

Please mark the appropriate option below to describe the type of change your pull request introduces:

Checklist

Additional Notes

[Add any additional notes or context that you think the reviewers should know about.]

By submitting this pull request, I confirm that I have read and complied with the contribution guidelines of this project.

aj3sh commented 6 months ago

Could you please add a test for this case?

golesuman commented 6 months ago

Could you please add a test for this case?

yeah done please check @aj3sh