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.
@@ -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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "codify-plugin-lib",
3
- "version": "1.0.150",
3
+ "version": "1.0.151",
4
4
  "description": "Library plugin library",
5
5
  "main": "dist/index.js",
6
6
  "typings": "dist/index.d.ts",
@@ -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);