Skip to content

Commit ff21930

Browse files
authoredApr 22, 2020
remove redundant code (#283)
The check is already done above.
1 parent eaba7c6 commit ff21930

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed
 

‎lib/convertLcovToCoveralls.js

+1-3
Original file line numberDiff line numberDiff line change
@@ -99,9 +99,7 @@ const convertLcovToCoveralls = (input, options, cb) => {
9999
if (options.parallel) {
100100
postJson.parallel = options.parallel;
101101
}
102-
if (options.flag_name) {
103-
postJson.flag_name = options.flag_name;
104-
}
102+
105103
parsed.forEach(file => {
106104
file.file = cleanFilePath(file.file);
107105
const currentFilePath = path.resolve(filepath, file.file);

0 commit comments

Comments
 (0)
Please sign in to comment.