Skip to content
This repository has been archived by the owner on Dec 19, 2023. It is now read-only.

Commit

Permalink
Samples: fix lint error for unused closure arg var
Browse files Browse the repository at this point in the history
  • Loading branch information
Rebecca Taylor committed Mar 23, 2018
1 parent 0db5e36 commit 964afec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion samples/listVoices.js
Expand Up @@ -47,7 +47,7 @@ function listVoices() {

require(`yargs`) // eslint-disable-line
.demand(1)
.command(`list-voices`, `List supported voices.`, {}, opts => listVoices())
.command(`list-voices`, `List supported voices.`, {}, () => listVoices())
.example(`node $0 list-voices`)
.wrap(120)
.recommendCommands()
Expand Down

0 comments on commit 964afec

Please sign in to comment.