Commit 209126b
authored
chore(internal/kokoro): wrap variable in quotes (#13821)
Wrap variable expansion in double quotes for `-z` length check to fix error regularly seen in kokoro:
`github/google-cloud-go/internal/kokoro/presubmit.sh: line 93: [: too many arguments`.
This happens when `$SIGNIFICANT_CHANGES` contains multiple, space separated values, which is often.
This is from a recent PR:
<img width="912" height="543" alt="image" src="https://togithub.com/user-attachments/assets/d0db59af-8bb5-4298-93a0-8cf6981704b0" />1 parent edc2b93 commit 209126b
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
90 | 90 | | |
91 | 91 | | |
92 | 92 | | |
93 | | - | |
| 93 | + | |
94 | 94 | | |
95 | 95 | | |
96 | 96 | | |
| |||
0 commit comments