MCPcopy
hub / github.com/semantic-release/semantic-release / EPLUGINCONF

Function EPLUGINCONF

lib/definitions/errors.js:76–85  ·  view source on GitHub ↗
({ type, required, pluginConf })

Source from the content-addressed store, hash-verified

74}
75
76export function EPLUGINCONF({ type, required, pluginConf }) {
77 return {
78 message: `The \`${type}\` plugin configuration is invalid.`,
79 details: `The [${type} plugin configuration](${linkify(`docs/usage/plugins.md#${toLower(type)}-plugin`)}) ${
80 required ? "is required and " : ""
81 } 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.
82
83Your configuration for the \`${type}\` plugin is \`${stringify(pluginConf)}\`.`,
84 };
85}
86
87export function EPLUGINSCONF({ plugin }) {
88 return {

Callers

nothing calls this directly

Calls 2

linkifyFunction · 0.85
stringifyFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…