Skip to content

Commit

Permalink
Fixed Linting on CucumberJSAllureReporter.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
caiogevegir authored Aug 17, 2023
1 parent 5bd15cf commit e1c0906
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions packages/allure-cucumberjs/src/CucumberJSAllureReporter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -242,9 +242,8 @@ export class CucumberJSAllureFormatter extends Formatter {

data.feature?.children?.forEach((c) => {
if (c.rule) {
this.onRule(c.rule);
}
else if (c.scenario) {
this.onRule(c.rule);
} else if (c.scenario) {
this.onScenario(c.scenario);
}
});
Expand Down

0 comments on commit e1c0906

Please sign in to comment.