diff options
| author | Joscha Feth <[email protected]> | 2019-11-21 12:17:15 +1100 |
|---|---|---|
| committer | Nick Merwin <[email protected]> | 2019-11-20 17:17:15 -0800 |
| commit | 571b38ae706820d2fdfba1edca03d60c2230223c (patch) | |
| tree | 6bc64af60d745d9deb3be52e00718c3ef9b7dee7 /lib | |
| parent | 06459aeba4854c30f51e7973b5a6f9cb48efdfdd (diff) | |
| download | node-coveralls-571b38ae706820d2fdfba1edca03d60c2230223c.tar.xz node-coveralls-571b38ae706820d2fdfba1edca03d60c2230223c.zip | |
fix: pass flag_name to coveralls API (#251)
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/convertLcovToCoveralls.js | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/convertLcovToCoveralls.js b/lib/convertLcovToCoveralls.js index a6d5665..860dc44 100644 --- a/lib/convertLcovToCoveralls.js +++ b/lib/convertLcovToCoveralls.js @@ -64,6 +64,10 @@ const convertLcovToCoveralls = (input, options, cb) => { source_files: [] }; + if (options.flag_name) { + postJson.flag_name = options.flag_name; + } + if (options.git) { postJson.git = options.git; } |
