Skip to content

Commit

Permalink
Fix linting errors
Browse files Browse the repository at this point in the history
  • Loading branch information
aurelien-reeves committed Sep 1, 2021
1 parent 676bb28 commit 07ce439
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion features/step_definitions/cli_steps.ts
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ When(
args += ' ' + formats.map((f) => `--format ${f}`).join(' ')
const renderedArgs = Mustache.render(args, this)
const stringArgs = stringArgv(renderedArgs)
return this.run(this.localExecutablePath, stringArgs)
return await this.run(this.localExecutablePath, stringArgs)
}
)

Expand Down
2 changes: 1 addition & 1 deletion src/cli/configuration_builder.ts
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ export default class ConfigurationBuilder {
async expandFeaturePaths(featurePaths: string[]): Promise<string[]> {
featurePaths = featurePaths.map((p) => p.replace(/(:\d+)*$/g, '')) // Strip line numbers
featurePaths = [...new Set(featurePaths)] // Deduplicate the feature files
return this.expandPaths(featurePaths, '.feature')
return await this.expandPaths(featurePaths, '.feature')
}

getFeatureDirectoryPaths(featurePaths: string[]): string[] {
Expand Down
2 changes: 1 addition & 1 deletion test/fake_report_server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ export default class FakeReportServer {
})
)
)
return new Promise((resolve, reject) => {
return await new Promise((resolve, reject) => {
this.server.close((err) => {
if (doesHaveValue(err)) return reject(err)
resolve(this.receivedBodies)
Expand Down

0 comments on commit 07ce439

Please sign in to comment.