relizy / getCommitMessageFile
Function: getCommitMessageFile()
getCommitMessageFile(
file,cwd):string
Defined in: src/core/commitlint/git.ts:37
Path of the message of the commit being created: the file given to the commit-msg hook, .git/COMMIT_EDITMSG by default.
Parameters
file
string | undefined
cwd
string
Returns
string