From d581fbb681a6f1532d5bc8dbd7219993a425515c Mon Sep 17 00:00:00 2001 From: onlywade Date: Wed, 22 Jun 2022 13:11:05 -0500 Subject: [PATCH] fix: correct a typo in config:set error messaging (#424) --- src/commands/config/set.js | 2 +- test/commands/config/set.test.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/commands/config/set.js b/src/commands/config/set.js index 9c5905760..28df1c1e9 100644 --- a/src/commands/config/set.js +++ b/src/commands/config/set.js @@ -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) { diff --git a/test/commands/config/set.test.js b/test/commands/config/set.test.js index c16a9e00a..2428193ad 100644 --- a/test/commands/config/set.test.js +++ b/test/commands/config/set.test.js @@ -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.'); }); });