Commit d01f69e
fix: trim trailing newline from SCOPES before splitting (#140)
The heredoc (`<<<`) appends a trailing newline to the SCOPES string,
causing jq's `split(",")` to produce an invalid last scope entry.
Adding `rtrimstr("\n")` before splitting fixes this.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>1 parent f1f0090 commit d01f69e
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
103 | 103 | | |
104 | 104 | | |
105 | 105 | | |
106 | | - | |
| 106 | + | |
107 | 107 | | |
108 | 108 | | |
109 | 109 | | |
| |||
0 commit comments