Package Exports
- @mimik/git-hooks
- @mimik/git-hooks/index.js
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@mimik/git-hooks) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
git-hooks
Example
import { commitCheckMsg } from '@mimik/git-hooks';
or
import gitHooks from '@mimik/git-hooks';git-hooks~commitCheckMsg() ⇒ Promise
Checking the validity of the commit message.
Kind: inner method of git-hooks
Returns: Promise - .
Category: async
Fulfil: null.
Will exit 1 if the commit message is not correct or if the branch is not a Jira generated branch.