Commit e7c31ca
feat: early config validation (#898)
* feat: add validation to check for email duplicates on account configs
* chore: add logs for debugging
* feat: make error a concatenation of compareAccelerator and global errors
* refactor: embed the duplicate email check in the compare configuration steps like all other validations
* chore: remove uneeded email duplicate logic on compare condig step main hanlder
* feat: check to ensure the account values under global-options match the respective mandatory key account
* fix: check for account key match between global and mandatory account configs
* chore: remove uneeded log
* refactor: arrow function to simplify if condition
* fix: remove accidental import added by ide
Co-authored-by: hickeydh-aws <88673813+hickeydh-aws@users.noreply.github.com>1 parent cd56056 commit e7c31ca
File tree
3 files changed
+37
-2
lines changed- src
- core/runtime/src
- lib/common-config/src/compare
3 files changed
+37
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
| 10 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
133 | 133 | | |
134 | 134 | | |
135 | 135 | | |
| 136 | + | |
136 | 137 | | |
137 | 138 | | |
138 | 139 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
69 | 69 | | |
70 | 70 | | |
71 | 71 | | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
72 | 76 | | |
73 | 77 | | |
74 | | - | |
75 | 78 | | |
76 | 79 | | |
77 | 80 | | |
| |||
82 | 85 | | |
83 | 86 | | |
84 | 87 | | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
85 | 92 | | |
86 | 93 | | |
87 | 94 | | |
| |||
180 | 187 | | |
181 | 188 | | |
182 | 189 | | |
| 190 | + | |
| 191 | + | |
| 192 | + | |
| 193 | + | |
| 194 | + | |
| 195 | + | |
| 196 | + | |
| 197 | + | |
| 198 | + | |
| 199 | + | |
| 200 | + | |
| 201 | + | |
| 202 | + | |
| 203 | + | |
| 204 | + | |
| 205 | + | |
| 206 | + | |
| 207 | + | |
| 208 | + | |
| 209 | + | |
| 210 | + | |
| 211 | + | |
| 212 | + | |
| 213 | + | |
| 214 | + | |
| 215 | + | |
| 216 | + | |
183 | 217 | | |
184 | 218 | | |
185 | 219 | | |
| |||
0 commit comments