Commit 0c07272
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 53f82a5 commit 0c07272
1 file changed
+5
-2
lines changed| 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