Skip to content

Commit

Permalink
refactor(errors): remove default params from plugin error
Browse files Browse the repository at this point in the history
  • Loading branch information
ryansonshine committed May 16, 2021
1 parent ad65cfd commit 4201dbb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/definitions/errors.ts
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ See [AWS Environment variables](${linkify(
'README.md#aws-environment-variables'
)}) for more details.`,
}),
EMISSINGPLUGIN: ({ plugin = '', tool = '', REQUIRED_PLUGINS = [] }) => ({
EMISSINGPLUGIN: ({ plugin, tool, REQUIRED_PLUGINS }) => ({
message: 'Missing plugin.',
details: `The plugin configuration is missing plugin '${plugin}' and is required for '${tool}'.
Expand Down

0 comments on commit 4201dbb

Please sign in to comment.