@getjones/test-infra 1.1.15 → 1.2.0

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@getjones/test-infra",
3
- "version": "1.1.15",
3
+ "version": "1.2.0",
4
4
  "description": "Providing internal and openapi interface",
5
5
  "main": "src/index.js",
6
6
  "scripts": {
@@ -54,11 +54,10 @@ class ContractorDetailsModel {
54
54
 
55
55
  this.additionalEmails = [];
56
56
 
57
- if (additionalEmails instanceof Array) {
58
- for (const email of additionalEmails) {
59
- this.additionalEmails.push(typeof email === 'string' ? { email: email } : email );
60
- }
57
+ for (const email of additionalEmails) {
58
+ this.additionalEmails.push(typeof email === 'string' ? { email: email } : email );
61
59
  }
60
+
62
61
  }
63
62
  }
64
63