Skip to content

Commit 6f2f0ce

Browse files
committed
Release 10.6.0
1 parent fccf835 commit 6f2f0ce

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "danger",
3-
"version": "10.5.4",
3+
"version": "10.6.0",
44
"description": "Unit tests for Team Culture",
55
"main": "distribution/danger.js",
66
"typings": "distribution/danger.d.ts",

source/danger.d.ts

+3-1
Original file line numberDiff line numberDiff line change
@@ -973,8 +973,10 @@ interface GitDSL extends GitJSONDSL {
973973

974974
/**
975975
* Offers the overall lines of code added/removed in the diff
976+
*
977+
* @param {string} pattern an option glob pattern to filer files that will considered for lines of code.
976978
*/
977-
linesOfCode(): Promise<number | null>
979+
linesOfCode(pattern?: string): Promise<number | null>
978980
}
979981
// This is `danger.github` inside the JSON
980982

0 commit comments

Comments
 (0)