From 80e1665037e8977cea7c460eae863509d6779720 Mon Sep 17 00:00:00 2001 From: Axieum <7577851+axieum@users.noreply.github.com> Date: Wed, 16 Jun 2021 00:52:19 +1000 Subject: [PATCH] fix: corrected spelling of invalid plugin config error (#1979) --- lib/definitions/errors.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/definitions/errors.js b/lib/definitions/errors.js index a602983803..c109f2afab 100644 --- a/lib/definitions/errors.js +++ b/lib/definitions/errors.js @@ -60,7 +60,7 @@ Your configuration for the \`tagFormat\` option is \`${stringify(tagFormat)}\`.` message: `The \`${type}\` plugin configuration is invalid.`, details: `The [${type} plugin configuration](${linkify(`docs/usage/plugins.md#${toLower(type)}-plugin`)}) ${ required ? 'is required and ' : '' - } must be a single or an array of plugins definition. A plugin definition is an npm module name, optionnaly wrapped in an array with an object. + } must be a single or an array of plugins definition. A plugin definition is an npm module name, optionally wrapped in an array with an object. Your configuration for the \`${type}\` plugin is \`${stringify(pluginConf)}\`.`, }), @@ -68,7 +68,7 @@ Your configuration for the \`${type}\` plugin is \`${stringify(pluginConf)}\`.`, message: 'The `plugins` configuration is invalid.', details: `The [plugins](${linkify( 'docs/usage/configuration.md#plugins' - )}) option must be an array of plugin definions. A plugin definition is an npm module name, optionnaly wrapped in an array with an object. + )}) option must be an array of plugin definions. A plugin definition is an npm module name, optionally wrapped in an array with an object. The invalid configuration is \`${stringify(plugin)}\`.`, }),