Commit a874096
authored
🪲 [Fix]: Fix coverage percent target handling when not provided (#32)
## Description
This pull request includes a small change to the `scripts/init.ps1`
file. The change ensures that the `CoveragePercentTarget` parameter is
properly checked for null or empty values before being cast to a
decimal.
*
[`scripts/init.ps1`](diffhunk://#diff-f47ceebe9ade2bb55cede031de8267e9c87b09336a93fcd557c02c1f488554b6L118-R119):
Modified the assignment of `CoveragePercentTarget` to include a check
for null or empty values before casting to a decimal.
## Type of change
<!-- Use the check-boxes [x] on the options that are relevant. -->
- [ ] 📖 [Docs]
- [x] 🪲 [Fix]
- [ ] 🩹 [Patch]
- [ ] 1 parent 99bd1f5 commit a874096
1 file changed
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
115 | 115 | | |
116 | 116 | | |
117 | 117 | | |
118 | | - | |
| 118 | + | |
| 119 | + | |
119 | 120 | | |
120 | 121 | | |
121 | 122 | | |
| |||
0 commit comments