Skip to content

Commit

Permalink
fix: correct a typo in config:set error messaging (twilio#424)
Browse files Browse the repository at this point in the history
  • Loading branch information
onlywade committed Jun 22, 2022
1 parent 5043d4e commit d581fbb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/commands/config/set.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ class ConfigSet extends BaseCommand {
}
if (isError) {
throw new TwilioCliError(
`No configuration is added to set. Run "twilio configs:set --help" to see how to set a configurations.`,
`No configuration is added to set. Run "twilio config:set --help" to see how to set a configurations.`,
);
}
if (isUserConfigUpdated) {
Expand Down
2 changes: 1 addition & 1 deletion test/commands/config/set.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ describe('commands', () => {

createConfig([], {})
.do((ctx) => ctx.testCmd.run())
.catch(/No configuration is added to set. Run "twilio configs:set --help" to see how to set a configurations./)
.catch(/No configuration is added to set. Run "twilio config:set --help" to see how to set a configurations./)
.it('runs config:set ,should throw error as there are no configurations/flags provided.');
});
});
Expand Down

0 comments on commit d581fbb

Please sign in to comment.