Skip to content

Commit

Permalink
remove redundant code (#283)
Browse files Browse the repository at this point in the history
The check is already done above.
  • Loading branch information
lpinca authored Apr 22, 2020
1 parent eaba7c6 commit ff21930
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions lib/convertLcovToCoveralls.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit ff21930

Please sign in to comment.