diff options
| author | Luigi Pinca <[email protected]> | 2020-04-22 18:38:12 +0200 |
|---|---|---|
| committer | GitHub <[email protected]> | 2020-04-22 09:38:12 -0700 |
| commit | ff21930515e15e367a3d033230d0c5def75fc206 (patch) | |
| tree | 8a7779dc826bd5e9857c63b90d7745f78f2627fb /lib/convertLcovToCoveralls.js | |
| parent | eaba7c60d3936ea0d73490486c36ed347149e8c0 (diff) | |
| download | node-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.
Diffstat (limited to 'lib/convertLcovToCoveralls.js')
| -rw-r--r-- | lib/convertLcovToCoveralls.js | 4 |
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); |
