Skip to content

Commit 86c8325

Browse files
committed
feat: point to guidelines on failure in TAP output
If commit linting fails, include the URL to the commit message guidelines in the TAP output.
1 parent 69435db commit 86c8325

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

lib/tap.js

+2
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,8 @@ module.exports = class Tap extends Readable {
112112

113113
if (this._failures) {
114114
this.write(`# fail ${this._failures}`)
115+
this.write('# Please review the commit message guidelines:')
116+
this.write('# https://github.com/nodejs/node/blob/HEAD/doc/contributing/pull-requests.md#commit-message-guidelines')
115117
}
116118

117119
this.push(null)

0 commit comments

Comments
 (0)