Commit 1166b5b
authored
🪲 [Fix]: Fix
## Description
This pull request includes a change to the `scripts/init.ps1` file to
improve the handling of input paths in the `Init - Load inputs` log
group.
### Improvements to input path handling
* `scripts/init.ps1`: Modified the `Resolve-Path` command to use a
default path of `'.'` if the environment variable
`PSMODULE_INVOKE_PESTER_INPUT_Path` is empty. This ensures that the
script can handle cases where the input path is not provided.
## Type of change
<!-- Use the check-boxes [x] on the options that are relevant. -->
- [ ] 📖 [Docs]
- [ ] 🪲 [Fix]
- [x] 🩹 [Patch]
- [ ] Path resolution logic (#20)1 parent 0601fa2 commit 1166b5b
1 file changed
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
22 | | - | |
| 22 | + | |
| 23 | + | |
23 | 24 | | |
24 | 25 | | |
25 | 26 | | |
| |||
0 commit comments