- Notifications
You must be signed in to change notification settings - Fork407
Commitb407e8e
Actionabilize errors from incorrect settings files (#1263)
* Annotatively research current state of exception handling surrounding settings file load invocation* Throw a contextful terminating error if processing the argument of 'Invoke-ScriptAnalyzer -Settings' results in an exception* Refine id and category of error for when processing value of `Invoke-ScriptAnalyzer -Settings` results in an exception* Revert "Annotatively research current state of exception handling surrounding settings file load invocation"This reverts commit3bfd45b.* Do not attempt id and category inference for the error to throw when processing the argument of `Invoke-ScriptAnalyzer -Settings` results in an exception* Remove `using System.IO`* Revert "Remove `using System.IO`"This reverts commit88ab1ec.`using System.IO` is required in Engine\Settings.cs after all. The mainuse is for pre-existing unqualified references to the typeInvalidDataException.* Remove unused using after refactoring. Use more descriptive variable name and make error record arguments consistent with usage in other parts of the solution.1 parentfd7663e commitb407e8e
1 file changed
+7
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
325 | 325 | | |
326 | 326 | | |
327 | 327 | | |
328 | | - | |
| 328 | + | |
329 | 329 | | |
330 | | - | |
331 | | - | |
332 | | - | |
| 330 | + | |
| 331 | + | |
| 332 | + | |
| 333 | + | |
| 334 | + | |
333 | 335 | | |
334 | 336 | | |
335 | 337 | | |
| |||
357 | 359 | | |
358 | 360 | | |
359 | 361 | | |
360 | | - | |
| 362 | + | |
361 | 363 | | |
362 | 364 | | |
363 | 365 | | |
| |||
0 commit comments
Comments
(0)