aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorJoscha Feth <[email protected]>2019-11-21 12:17:15 +1100
committerNick Merwin <[email protected]>2019-11-20 17:17:15 -0800
commit571b38ae706820d2fdfba1edca03d60c2230223c (patch)
tree6bc64af60d745d9deb3be52e00718c3ef9b7dee7 /lib
parent06459aeba4854c30f51e7973b5a6f9cb48efdfdd (diff)
downloadnode-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.js4
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;
}