aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuigi Pinca <[email protected]>2020-04-22 18:38:12 +0200
committerGitHub <[email protected]>2020-04-22 09:38:12 -0700
commitff21930515e15e367a3d033230d0c5def75fc206 (patch)
tree8a7779dc826bd5e9857c63b90d7745f78f2627fb
parenteaba7c60d3936ea0d73490486c36ed347149e8c0 (diff)
downloadnode-coveralls-3.0.13.tar.xz
node-coveralls-3.0.13.zip
remove redundant code (#283)v3.0.13
The check is already done above.
-rw-r--r--lib/convertLcovToCoveralls.js4
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/convertLcovToCoveralls.js b/lib/convertLcovToCoveralls.js
index 65ec381..710c87d 100644
--- a/lib/convertLcovToCoveralls.js
+++ b/lib/convertLcovToCoveralls.js
@@ -99,9 +99,7 @@ const convertLcovToCoveralls = (input, options, cb) => {
if (options.parallel) {
postJson.parallel = options.parallel;
}
- if (options.flag_name) {
- postJson.flag_name = options.flag_name;
- }
+
parsed.forEach(file => {
file.file = cleanFilePath(file.file);
const currentFilePath = path.resolve(filepath, file.file);