codify-plugin-lib 1.0.150 → 1.0.151
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/plugin/plugin.js +1 -4
- package/package.json +1 -1
- package/src/plugin/plugin.ts +1 -4
package/dist/plugin/plugin.js
CHANGED
|
@@ -121,10 +121,7 @@ export class Plugin {
|
|
|
121
121
|
return !controller.parsedSettings.allowMultiple && v > 1;
|
|
122
122
|
});
|
|
123
123
|
if (invalidMultipleConfigs.length > 0) {
|
|
124
|
-
throw new Error(`Multiples of the following configs were found but only 1 is allowed.
|
|
125
|
-
|
|
126
|
-
[${invalidMultipleConfigs.map(([k]) => k).join(', ')}]
|
|
127
|
-
`);
|
|
124
|
+
throw new Error(`Multiples of the following configs were found but only 1 is allowed. [${invalidMultipleConfigs.map(([k, v]) => `${v}x ${k}`).join(', ')}] found.`);
|
|
128
125
|
}
|
|
129
126
|
await this.crossValidateResources(data.configs);
|
|
130
127
|
return {
|
package/package.json
CHANGED
package/src/plugin/plugin.ts
CHANGED
|
@@ -179,10 +179,7 @@ export class Plugin {
|
|
|
179
179
|
|
|
180
180
|
if (invalidMultipleConfigs.length > 0) {
|
|
181
181
|
throw new Error(
|
|
182
|
-
`Multiples of the following configs were found but only 1 is allowed.
|
|
183
|
-
|
|
184
|
-
[${invalidMultipleConfigs.map(([k]) => k).join(', ')}]
|
|
185
|
-
`)
|
|
182
|
+
`Multiples of the following configs were found but only 1 is allowed. [${invalidMultipleConfigs.map(([k, v]) => `${v}x ${k}`).join(', ')}] found.`)
|
|
186
183
|
}
|
|
187
184
|
|
|
188
185
|
await this.crossValidateResources(data.configs);
|