Commit 3a49942
committed
fix: separate variable declaration and assignment to resolve ShellCheck SC2155
- Split SCRIPT_DIR and WORK_DIR declaration and assignment
- Improves error handling by avoiding masking return values
- Follows ShellCheck best practices for readonly variables1 parent 066eda2 commit 3a49942
1 file changed
Lines changed: 5 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
28 | | - | |
29 | | - | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
30 | 33 | | |
31 | 34 | | |
32 | 35 | | |
| |||
0 commit comments