Commit d160cce
committed
refactor(test): replace eval with bash arrays in unit function
Use read -ra to parse BUILD_FLAGS and TEST_FLAGS into arrays, so empty
variables expand to zero arguments without needing eval. This avoids
potential issues with shell metacharacter expansion.
https://claude.ai/code/session_01L1fN5BiN9pbngSFbtEPRWL1 parent 9347295 commit d160cce
1 file changed
Lines changed: 6 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
54 | 54 | | |
55 | 55 | | |
56 | 56 | | |
57 | | - | |
58 | | - | |
59 | | - | |
60 | | - | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
61 | 63 | | |
62 | 64 | | |
63 | 65 | | |
| |||
0 commit comments